disp: msm: sde: add support to handle qsync-min-fps list property
Qsync min fps is same for all the fps in the dfps list in
the current implementation. Added support to parse
qcom,dsi-supported-qsync-min-fps-list where each value
is the qsync min fps corresponding to the mode in the
dfps list with same index.
Change-Id: I68b179f6eacbf9cc14c1bd90d71d5661c2255750
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
diff --git a/msm/sde/sde_connector.h b/msm/sde/sde_connector.h
index 9389f13..cbc6bfa 100644
--- a/msm/sde/sde_connector.h
+++ b/msm/sde/sde_connector.h
@@ -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 _SDE_CONNECTOR_H_
@@ -338,6 +338,14 @@
*/
int (*prepare_commit)(void *display,
struct msm_display_conn_params *params);
+
+ /**
+ * get_qsync_min_fps - Get qsync min fps from qsync-min-fps-list
+ * @display: Pointer to private display structure
+ * @mode_fps: Fps value in dfps list
+ * Returns: Qsync min fps value on success
+ */
+ int (*get_qsync_min_fps)(void *display, u32 mode_fps);
};
/**