소스 검색

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 <[email protected]>
Signed-off-by: Sandeep Gangadharaiah <[email protected]>
Sudarsan Ramesh 4 년 전
부모
커밋
1def76170d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      msm/dp/dp_mst_drm.c

+ 1 - 0
msm/dp/dp_mst_drm.c

@@ -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);