ソースを参照

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);
 
 			/*