disp: msm: dsi: Update mode population logic for POMS feature

This change adds support to populate one command mode for
video mode panels supporting panel operating mode switch
feature.

Change-Id: I850b889ebfa8c2ee1406ad946061b96143537b09
Signed-off-by: Lipsa Rout <lrout@codeaurora.org>
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
这个提交包含在:
Lipsa Rout
2020-04-06 11:52:11 +05:30
提交者 Gerrit - the friendly Code Review server
父节点 d59451d9e9
当前提交 e009f7f81f
修改 2 个文件,包含 23 行新增5 行删除

查看文件

@@ -6224,9 +6224,16 @@ int dsi_display_get_modes(struct dsi_display *display,
}
end = array_idx;
/*
* if dynamic clk switch is supported then update all the bit
* clk rates.
* if POMS is enabled and boot up mode is video mode,
* skip bit clk rates update for command mode,
* else if dynamic clk switch is supported then update all
* the bit clk rates.
*/
if (is_cmd_mode &&
(display->panel->panel_mode == DSI_OP_VIDEO_MODE))
continue;
_dsi_display_populate_bit_clks(display, start, end, &array_idx);
}