Browse Source

disp: msm: sde: reset retire fence when CWB is disabled

Reset retire fence when CWB is disabled. This is an error recovery
if CWB commit failed.

Change-Id: Iec130a869ef94978a54bf73e501a78f91ee4e3af
Signed-off-by: Xiaowen Wu <[email protected]>
Signed-off-by: Samantha Tran <[email protected]>
Xiaowen Wu 4 years ago
parent
commit
b33789b39b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      msm/sde/sde_encoder_phys_wb.c

+ 2 - 0
msm/sde/sde_encoder_phys_wb.c

@@ -1802,6 +1802,8 @@ static void sde_encoder_phys_wb_disable(struct sde_encoder_phys *phys_enc)
 			return;
 			return;
 		}
 		}
 
 
+		if (phys_enc->connector)
+			sde_connector_commit_reset(phys_enc->connector, ktime_get());
 		goto exit;
 		goto exit;
 	}
 	}