disp: msm: sde: add tx wait for WB display during modeset

Add tx wait for WB display during modeset to avoid unbalanced
IRQ handle.

Change-Id: I18337e2a06fe5ec98d4d6e6d766abbf4ec585703
Signed-off-by: Lei Chen <quic_chenlei@quicinc.com>
This commit is contained in:
Lei Chen
2022-06-22 20:10:00 +08:00
committed by Gerrit - the friendly Code Review server
父節點 7b00783abe
當前提交 6f17f3e63e

查看文件

@@ -2534,7 +2534,8 @@ static int sde_encoder_virt_modeset_rc(struct drm_encoder *drm_enc,
res_switch = !drm_mode_match(old_adj_mode, adj_mode,
DRM_MODE_MATCH_TIMINGS);
if (res_switch && sde_enc->disp_info.is_te_using_watchdog_timer) {
if ((res_switch && sde_enc->disp_info.is_te_using_watchdog_timer) ||
sde_encoder_is_cwb_disabling(drm_enc, drm_enc->crtc)) {
/*
* add tx wait for sim panel to avoid wd timer getting
* updated in middle of frame to avoid early vsync