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

@@ -359,7 +359,7 @@ int dsi_display_get_mode_count(struct dsi_display *display, u32 *count);
* dsi_display_get_modes() - get modes supported by display
* @display: Handle to display.
* @modes; Output param, list of DSI modes. Number of modes matches
* count returned by dsi_display_get_mode_count
* count got from display->panel->num_display_modes;
*
* Return: error code.
*/