Merge "disp: msm: allow DMS before cont-splash handoff"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
48b38ad05d
@@ -6380,10 +6380,12 @@ int dsi_display_prepare(struct dsi_display *display)
|
||||
dsi_display_ctrl_isr_configure(display, true);
|
||||
|
||||
if (mode->dsi_mode_flags & DSI_MODE_FLAG_DMS) {
|
||||
if (display->is_cont_splash_enabled) {
|
||||
pr_err("DMS is not supposed to be set on first frame\n");
|
||||
if (display->is_cont_splash_enabled &&
|
||||
display->config.panel_mode == DSI_OP_VIDEO_MODE) {
|
||||
pr_err("DMS not supported on first frame\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* update dsi ctrl for new mode */
|
||||
rc = dsi_display_pre_switch(display);
|
||||
if (rc)
|
||||
|
Reference in New Issue
Block a user