disp: msm: dsi: select timing mode shared from kernel command line
If the command line timing is given, select corresponding drm display mode as preferred mode. Select first sub mode of that timing as preferred mode if dynamic clock or dynamic fps is enabled. Change-Id: I688b3bc07f79f4d014b8a7797204d3d6a873222d Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
e2f98dc79b
commit
b990bd6a04
@@ -623,6 +623,7 @@ struct dsi_display_mode_priv_info {
|
||||
* @pixel_clk_khz: Pixel clock in Khz.
|
||||
* @dsi_mode_flags: Flags to signal other drm components via private flags
|
||||
* @panel_mode: Panel mode
|
||||
* @is_preferred: Is mode preferred
|
||||
* @priv_info: Mode private info
|
||||
*/
|
||||
struct dsi_display_mode {
|
||||
@@ -630,6 +631,7 @@ struct dsi_display_mode {
|
||||
u32 pixel_clk_khz;
|
||||
u32 dsi_mode_flags;
|
||||
enum dsi_op_mode panel_mode;
|
||||
bool is_preferred;
|
||||
struct dsi_display_mode_priv_info *priv_info;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user