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>
このコミットが含まれているのは:
Soutrik Mukhopadhyay
2023-04-12 14:54:41 +05:30
committed by Gerrit - the friendly Code Review server
コミット 0883cdf7be

ファイルの表示

@@ -2388,6 +2388,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);