disp: msm: dp: clear link info capabilities during DP disconnect
This change clears all link info capabilities as a part of panel deinitialisation during a disconnect sequence. Without this change, the link info capabilities like the CRC flag will be retained for the next hotplugged device. Now if, a MST is connected after a SST connection, the base panel will have the CRC value of the previous sink, which will be invalid for the case when the hub doesn't support CRC. Change-Id: I3a820070fd5006a707328b4d192893a465c04448 Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -2379,6 +2379,9 @@ static int dp_panel_deinit_panel_info(struct dp_panel *dp_panel, u32 flags)
|
||||
shdr_if_sdp = &panel->catalog->shdr_if_sdp;
|
||||
vsc_colorimetry = &panel->catalog->vsc_colorimetry;
|
||||
|
||||
/*clearing LINK INFO capabilities during disconnect*/
|
||||
dp_panel->link_info.capabilities = 0;
|
||||
|
||||
if (dp_panel->edid_ctrl->edid)
|
||||
sde_free_edid((void **)&dp_panel->edid_ctrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user