mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
disp: msm: dsi: reject seamless commit with active changed
Reject composition if any seamless transition such as VRR, dynclk is requested during power on/off commits. Change-Id: I731bfc06b3bd1e7ae920c12cbc68f95f5cc01687 Signed-off-by: Kalyan Thota <kalyant@codeaurora.org> Signed-off-by: Jayaprakash <jmadiset@codeaurora.org>
This commit is contained in:
parent
03af5b7083
commit
4f3de7c548
1 changed files with 9 additions and 0 deletions
|
|
@ -423,6 +423,15 @@ static bool dsi_bridge_mode_fixup(struct drm_bridge *bridge,
|
|||
dsi_mode.dsi_mode_flags |= DSI_MODE_FLAG_DMS;
|
||||
}
|
||||
|
||||
/* Reject seamless transition when active changed */
|
||||
if (crtc_state->active_changed &&
|
||||
((dsi_mode.dsi_mode_flags & DSI_MODE_FLAG_VRR) ||
|
||||
(dsi_mode.dsi_mode_flags & DSI_MODE_FLAG_DYN_CLK))) {
|
||||
DSI_ERR("seamless upon active changed 0x%x %d\n",
|
||||
dsi_mode.dsi_mode_flags, crtc_state->active_changed);
|
||||
return false;
|
||||
}
|
||||
|
||||
/* convert back to drm mode, propagating the private info & flags */
|
||||
dsi_convert_to_drm_mode(&dsi_mode, adjusted_mode);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue