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

This commit is contained in:
qctecmdr
2022-07-18 07:31:35 -07:00
committed by Gerrit - the friendly Code Review server
melakukan aff5c915e2

Melihat File

@@ -2544,7 +2544,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