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:

committed by
Gerrit - the friendly Code Review server

parent
7b00783abe
commit
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,
|
res_switch = !drm_mode_match(old_adj_mode, adj_mode,
|
||||||
DRM_MODE_MATCH_TIMINGS);
|
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
|
* add tx wait for sim panel to avoid wd timer getting
|
||||||
* updated in middle of frame to avoid early vsync
|
* updated in middle of frame to avoid early vsync
|
||||||
|
Reference in New Issue
Block a user