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:
Rajeev Nandan
2020-04-13 12:01:50 +05:30
committed by Gerrit - the friendly Code Review server
parent e2f98dc79b
commit b990bd6a04
4 changed files with 39 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
*/
#ifndef _DSI_DRM_H_
@@ -14,6 +14,8 @@
#include "dsi_display.h"
#define NO_OVERRIDE -1
struct dsi_bridge {
struct drm_bridge base;
u32 id;