Message ID | 1464209143-2148-1-git-send-email-Andrey.Grodzovsky@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0664D6075C for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 25 May 2016 20:48:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE457282C0 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 25 May 2016 20:48:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2E08282E0; Wed, 25 May 2016 20:48:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27B5D282C0 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 25 May 2016 20:48:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3DB1C6E735; Wed, 25 May 2016 20:47:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0064.outbound.protection.outlook.com [207.46.100.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4BF3E6E735 for <dri-devel@lists.freedesktop.org>; Wed, 25 May 2016 20:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7UtIHFNIl5q+d2xvLiS089WIKjzAYL8s2URXcUVlbDY=; b=poKnCTUDRXsfshw5S2hYzjtjjq3YM0B/CNBLSOTJXZx/mtG+vXr3NWcAwWtsgtgPHVslpaTzC6JghC8vaSKTG9bqNgMlkieky9ZaxFONkufXFXEpWTl+ZNaAupgXTBtJhRuECL1zCbTvKYJoJ6i8B2mvPyXl76ZBlSWAGDdnfaM= Received: from CY1PR12CA0021.namprd12.prod.outlook.com (10.160.137.31) by BLUPR12MB0705.namprd12.prod.outlook.com (10.163.218.143) with Microsoft SMTP Server (TLS) id 15.1.501.7; Wed, 25 May 2016 20:47:50 +0000 Received: from BY2NAM03FT048.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::203) by CY1PR12CA0021.outlook.office365.com (2a01:111:e400:4c1f::31) with Microsoft SMTP Server (TLS) id 15.1.501.7 via Frontend Transport; Wed, 25 May 2016 20:47:50 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.22) smtp.mailfrom=amd.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.22) by BY2NAM03FT048.mail.protection.outlook.com (10.152.85.64) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Wed, 25 May 2016 20:47:48 +0000 Received: from SATLEXDAG05.amd.com (10.181.40.11) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 25 May 2016 15:47:24 -0500 Received: from SCYBEXDAG03.amd.com (10.34.11.13) by satlexdag05.amd.com (10.181.40.11) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 25 May 2016 16:47:23 -0400 Received: from agrodzovsky-All-Series.amd.com (172.29.227.109) by SCYBEXDAG03.amd.com (10.34.11.13) with Microsoft SMTP Server id 14.3.266.1; Thu, 26 May 2016 04:47:19 +0800 From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> To: <dri-devel@lists.freedesktop.org> Subject: [PATCH] drm/dp/mst: Always clear proposed vcpi table for port. Date: Wed, 25 May 2016 16:45:43 -0400 Message-ID: <1464209143-2148-1-git-send-email-Andrey.Grodzovsky@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.22; IPV:CAL; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(189002)(199003)(19580395003)(2906002)(8936002)(4326007)(87936001)(77096005)(8676002)(11100500001)(36756003)(189998001)(5003940100001)(19580405001)(50226002)(53416004)(1220700001)(2351001)(101416001)(110136002)(50466002)(5003600100002)(105586002)(229853001)(106466001)(586003)(6806005)(5008740100001)(47776003)(50986999)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0705; H:SATLEXCHOV02.amd.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-MS-Office365-Filtering-Correlation-Id: 45e9083a-db1a-4898-48f1-08d384ddd5a6 X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0705; 2:GcpBzizsQhlsnKCBN9CU8jDUJAXA+MKVs4OTllPDVUr7oCT2LG4KVf+mia8ALrOn7hKpOe0rRykoK2LyEq7eFMy7k+rGG8az4+oo63wcOnY47i5S010zNesC4KfoqC8XWmdPx3uI02+hGxvW2A0QmuAK9g96a76uernsl/AuCrXnDUK3BAcSLVMSlqZsCvst; 3:Pj9M2dQ3K99EbQHQePh0AD5lKUsXjrpWbWvpkPCJfoRVLYrYMyn85tukVJnwSpujMGRsWoomv9m+YubTfnEF5xfYP5JdQ0gHqsvJTSb+EE8P2Vt8ZzzgqrecvkLOuKfCUv4jVFo+dLaY6KH7Csfv8zFYrOTJXA3idTphyfZ49K/li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AxXZjR7acJO6s9Kxj5ZXURvyCajuRF8qxORB/+qGfr7RJywTP+qpG+3ZGlDfCQlh00AG6CqhuZAds1m9f2xB4yNSE8z7TAKqdArG4vElniOqkLcvKwpvsdxCJFEv+Ek+kAYaXy8mEoL1Bx64f0uST/F0EReaI8YH4kIMRSTiTLWSbpo2ZSZcCPHSpb8Vo2MwfwQ5muBWcLn/rnf1mY/noc134bNFIKxnNsH1Y4V8M+uUZPtwTAduADRgg2c9Su4BZ5iZA7OvmxQ0fuEoHUEv2JaWPMf56VoKlm8+utYNbTQnE/tLwKs+VWRKRmmudP37tZez6jjT8Oxq5XyDzMnEUh3CMGS1tR0xmFz+uoGJbtpfBat8bGCS8tmubNPK377hfyJpFMWoIAZ3NAIzDGBsMmpcUjNeC/apWHtAe501P8stDAdJFHUov4pp050zlVK5GbbLpUr; 4:YDHgSNG460WLFHIwDfLVYf5WeMwmD6dEAVyYBAQ72vaGjRaalOA88aZbzglq3MBH4SnsgnJDgahAe3DX3tpsj3flaEmxbmDlNuwmTdLwA2vbdbjtVbYKuq/XeHVgZ+Wj8FQPbn2sK2XKyXl6ikvi+7DC9ttwQkr0NPv0IpzO6KKDK99DarYUjx7jEblb2OPFhfm7oHE1ruSn7jS17+RMugDbLPVbUA/DZbmGsqa5FGfjHjCLbsH2TYyAGXVVXCCOIHaZBtrU/sh1w429oULrzpWwppU8Oz96WcHG5V4GjegRNbYgOVi2z56q2eW53rCOZhrOGvacnCfxkXHC92tcplaRRkIKy1fmnVNm+4skHZqYcyrrEr97nuuzAHv9zRQMDN9vrJxyBt+qJMaBwO+WO4hj33vDzG7zXbxN9Ti11Of4ku/C5FxCruHhsYFiIbf8 X-Microsoft-Antispam-PRVS: <BLUPR12MB07056E11B509C26D6CDBE4ECEA400@BLUPR12MB0705.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13013025)(5005006)(13021025)(8121501046)(3002001)(10201501046)(6055026); SRVR:BLUPR12MB0705; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0705; X-Forefront-PRVS: 09538D3531 X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0705; 23:z0nJDTWZb+sPpwJjWKyp176tggL3sChjzycG2V5u6FjMVsmfUFGuhp4krxkwfmtup6h9/niYixP3XXlj44Hu8YWWMGK9QhiVD2DHPivqvs6xUEYR43nUgoEG+TRGtv+Xdv6T/vDhWHvX4t2v3U2iUtRHL+O1Dl8QY4aDcb35r9E5SuMFNSw3NW7peHY7Abr+UpCBgCijtUvQO+el/iIYxiv8A0FNTdDxCAf4XpAszA495aQMxuon6Oih8BDMkls5YVCW3zmLQogtt1tK09tMiE4EqegjkQkRPNlm+6Xz23aEvDfZi3OeWdCQ4THVrgVsQMuOV3iht/RuTLn1jwPPYoqXB6yW7ewPbKLZJyHq/+BvCaHpR9rMtWsAx5Vg7kf+uWMkNsoeRVYmM3GJy1uqCteqLblEXHnE6NibYgYnFxFp6oTTm2VuXuPAvR+XCSWlNEnuK0u765zQdOmOGGQWUaTatROzZ6kZljMbU0uT6j6iemHwzWpgfK9p18ooL2hFuAHCTH2QzZOBwTJe74V4IttoOcBRWd/CT87ydq1IuCNTgrsafNuVHTn31CHq1bCPRQd+2gds5J91gjI4EFRzIQsUX7cLkOzUiZILtxMiudJowB+K+hmdFvjKq2TLNXSuJreFXlLpnbEGMINSNhXabm9ndpTRgvLfpNTir383SqGRed3IYfbSGSA7aOCvoHgzyoOO5j3Kw9dBuSnxn7T0sFLreKNsyUhkJ3p2ieaakrhJKLUE4wnfgKEKVCOnrLOkv7ayOi0KMVYHO3YZdZqobF9lzhHj+70m8nKSitFYFCdy469ZUENdkQqpd/2xZkUtLXV2ls4uNjJQLtUaKgyNGKCbJC6HCfRlui2egvGQRn00+BilB0qkS+YmF42BM1LS4Jb//GQtyyH1o8OXZnmhvRBdvuux6YC7gRfPK8OjCZU= X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0705; 5:1bzmr93NG4huKw6Dx6af7pnz5XMoA1hknpueqKgDdnkMglBy5+RU6vouMkNSKTKk3oFs6/PTWcrSXB/rDXoeYC1E/5adodExJPpvtUgZlhHz1uw5nuCmHQkl06+voPnLYY/Dt9Lcyaj66fzZfwqi6A==; 24:IxGNp/PXzNY9CejMna/98bkHCowwagZw2pNk/1lErs1TrfaC5qICO51fhgEa13e1OCt2O+pyfOblOLDbfdggLqq5Njj8VhpNrCu7AkY9ZiE=; 7:+5SB3Y6TxJKQjEf6pKV3OVdeai4drZyUVD3mZyT8lSAzJkuRAGjBRTv6uL5eXjPCffpI0FpATDtbGhAvqztkJc/VgGw3rQLjpiJiWWWnjYXaaAE7P/2BMFHNkk0cTkqx78/J5NcwmBNWkBAAKQCkvBM8gmYADaT4IqeKTphurRSSqYviByYhNfd1ZZm4/Pvt; 20:719k+q/pqfrb3O5rVmnSdERIqBrC0c3KeW4/L5veggidE9NmHcES/89vW60VeOMXlmeLFpguZsxcUoYe5lYtN/6rzYgd4Lw0e+iAc0zJJMTcu5WG8hwKTyRfLAK3dCzhAAJn7wF98WbC5M7HFzjdNtVhABJjlBcXl51AwmwzsxNrAVobHUeTMsJmOY7lQXsUlzyQPEXUT21i6TFMGgA9MoIr51mwZScgJblMpjvXimjyBNL5lQT2MXHOmy7BURFY SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2016 20:47:48.8798 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.22]; Helo=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0705 Cc: Alex Deucher <alexander.deucher@amd.com>, Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>, Mykola Lysenko <Mykola.Lysenko@amd.com>, stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index 9971c46..cd6014b 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -2881,11 +2881,9 @@ static void drm_dp_destroy_connector_work(struct work_struct *work) drm_dp_port_teardown_pdt(port, port->pdt); if (!port->input && port->vcpi.vcpi > 0) { - if (mgr->mst_state) { - drm_dp_mst_reset_vcpi_slots(mgr, port); - drm_dp_update_payload_part1(mgr); - drm_dp_mst_put_payload_id(mgr, port->vcpi.vcpi); - } + drm_dp_mst_reset_vcpi_slots(mgr, port); + drm_dp_update_payload_part1(mgr); + drm_dp_mst_put_payload_id(mgr, port->vcpi.vcpi); } kref_put(&port->kref, drm_dp_free_mst_port);