disp: msm: dp: clear mst edid cache for real monitor plugin

Currently edid cache is cleared only in the mst attention callback
flow i.e. if a monitor is plugged in/out of a mst dongle. If mst
dongle is plugged out directly, the edid cache is not cleared.
This change clears the edid cache also during the
connect/disconnect callback.

Change-Id: Icc4b4ca6a59f1ee32f7fe062831a3a19f4ab9f00
Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
Signed-off-by: Sandeep Gangadharaiah <sandgang@codeaurora.org>
Dieser Commit ist enthalten in:
Sudarsan Ramesh
2021-06-18 11:55:36 -04:00
committet von Sandeep Gangadharaiah
Ursprung a5da9d0045
Commit 1def76170d

Datei anzeigen

@@ -1727,6 +1727,7 @@ static int dp_mst_display_set_mgr_state(void *dp_display, bool state)
if (state)
mst->mst_session_state = state;
dp_mst_clear_edid_cache(dp);
mst->mst_fw_cbs = &drm_dp_mst_fw_helper_ops;
rc = mst->mst_fw_cbs->topology_mgr_set_mst(&mst->mst_mgr, state);