mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
disp: msm: dsi: Avoid dynamic mode switch during first commit
Dynamic mode switch (DMS) is not supported for video mode panels before cont-splash handoff handled for first frame. so avoid dynamic mode-switch during cont-splash handoff for any DRM mode change. WA is given by QC for GSI issue, as of observation there are no side effects QC SR:05515278 QC CR:NA QC Change ID:Icd5881af99afb3e398d3bba3746b7a35bcda4491 Change-Id: I97f5712ce5bb8448f1c600ccf306d0dac7fa6eae Signed-off-by: maheshmk <maheshmk@motorola.com> Reviewed-on: https://gerrit.mot.com/2113033 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Ashwin Kumar Pathmudi <jfxr63@motorola.com> Reviewed-by: Shuo Yan <shuoyan@motorola.com> Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ee69f5d73d
commit
85ce702b47
1 changed files with 7 additions and 1 deletions
|
|
@ -437,7 +437,13 @@ static bool dsi_bridge_mode_fixup(struct drm_bridge *bridge,
|
|||
(!(dsi_mode.dsi_mode_flags & DSI_MODE_FLAG_DYN_CLK)) &&
|
||||
(!crtc_state->active_changed ||
|
||||
display->is_cont_splash_enabled)) {
|
||||
dsi_mode.dsi_mode_flags |= DSI_MODE_FLAG_DMS;
|
||||
/* Reject DMS for First commit for Video Mode Panel */
|
||||
if((dsi_mode.panel_mode == DSI_OP_VIDEO_MODE) &&
|
||||
display->is_cont_splash_enabled)
|
||||
DSI_ERR("DMS not supported for display type:%d for first frame\n",
|
||||
dsi_mode.panel_mode);
|
||||
else
|
||||
dsi_mode.dsi_mode_flags |= DSI_MODE_FLAG_DMS;
|
||||
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_CASE2,
|
||||
dsi_mode.timing.h_active,
|
||||
|
|
|
|||
Loading…
Reference in a new issue