Message ID | 20200324130809.444508184@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=FSPt=5J=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9BFCC41621 for <stable@archiver.kernel.org>; Tue, 24 Mar 2020 13:16:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B740C20B80 for <stable@archiver.kernel.org>; Tue, 24 Mar 2020 13:16:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585055792; bh=4rTwBD89a4CagL9gDyOgg/0Xk9ZXmPQVpF4kNNBT5fQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=JMI7JLFw76MC3wk4AKr171YWotfNlhAJF7FHQXnH38/leGZQhj+rtX4xF1KWHCur7 3c7y1HEWdtQqFzualsHhK2oRZpTv20pUh/cdBOt1Ac2I34WEBKycBzMrHcPsXOvTGx EDUpFdlbWCe4deFGXBUjFHBPdvzMnz82kg6ht0R0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727834AbgCXNQ3 (ORCPT <rfc822;stable@archiver.kernel.org>); Tue, 24 Mar 2020 09:16:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:35938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728385AbgCXNQ2 (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 24 Mar 2020 09:16:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 03D88206F6; Tue, 24 Mar 2020 13:16:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585055787; bh=4rTwBD89a4CagL9gDyOgg/0Xk9ZXmPQVpF4kNNBT5fQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u2N7Ss9g9pRtTJ06NcQgvliJIvfJGj7118RXGsPcp6gPq4uaETTiQwwJZHd7dIEP4 QkgoGWUWbvCFXU+kKQBgtofs/XFEL63yrgi5VSFe84ICmWVuYYp7pKxp9ILWJ+AUf8 kShKSjcLCqtjSYv6bhsZ3xfgqd+Ip/xaAUVHURB0= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>, Hersen Wu <hersenxs.wu@amd.com>, Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>, Alex Deucher <alexander.deucher@amd.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.4 029/102] drm/amd/display: Clear link settings on MST disable connector Date: Tue, 24 Mar 2020 14:10:21 +0100 Message-Id: <20200324130809.444508184@linuxfoundation.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200324130806.544601211@linuxfoundation.org> References: <20200324130806.544601211@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index 16218a202b591..28a6c7b2ef4bb 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -379,6 +379,7 @@ static void dm_dp_destroy_mst_connector(struct drm_dp_mst_topology_mgr *mgr, aconnector->dc_sink); dc_sink_release(aconnector->dc_sink); aconnector->dc_sink = NULL; + aconnector->dc_link->cur_link_settings.lane_count = 0; } drm_connector_unregister(connector);