disp: msm: dsi: refine the logic for mode filling and calculation

Video and command mode will be included in same timing node
when POMS is enabled, but DFPS is only applicable for video
mode, so add this change to differentiate panel mode, and fill
display mode according to panel mode.

Change-Id: I6aa0f8572f23f0612684ed7cdf406b20ab3df822
Signed-off-by: Lei Chen <chenlei@codeaurora.org>
This commit is contained in:
Lei Chen
2019-08-16 17:32:45 +08:00
parent 2a9da1c03b
commit e4fc324197
4 changed files with 77 additions and 88 deletions

View File

@@ -171,6 +171,7 @@ struct dsi_panel {
struct dsi_display_mode *cur_mode;
u32 num_timing_nodes;
u32 num_display_modes;
struct dsi_regulator_info power_info;
struct dsi_backlight_config bl_config;