Explorar o código

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

qctecmdr %!s(int64=4) %!d(string=hai) anos
pai
achega
d8ffbf3d39
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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);
 
 			/*