Переглянути джерело

Merge "disp: msm: dp: fix simulated hpd_irq handling for real monitors"

qctecmdr 4 роки тому
батько
коміт
d8ffbf3d39
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      msm/dp/dp_mst_drm.c

+ 2 - 1
msm/dp/dp_mst_drm.c

@@ -2222,7 +2222,8 @@ static void dp_mst_display_hpd_irq(void *dp_display,
 	bool handled;
 
 	if (info->mst_hpd_sim) {
-		if (info->mst_sim_add_con || info->mst_sim_remove_con) {
+		if (mst->simulator.mst_state && (info->mst_sim_add_con ||
+				info->mst_sim_remove_con)) {
 			dp_mst_sim_handle_hpd_irq(dp_display, info);
 
 			/*