disp: msm: add qsync refresh rate support per mode

This change adds support for qsync min refresh rate per
timing mode and populates qsync min refresh rate based
on the current fps when qsync is enabled.

Change-Id: I191d1d72e95dd065c8c0b56a6100104c00c6d8f6
Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
This commit is contained in:
Yashwanth
2021-05-07 13:31:52 +05:30
parent 8a2ddb713f
commit 64b732f335
15 changed files with 89 additions and 61 deletions

View File

@@ -89,7 +89,7 @@ struct dsi_dfps_capabilities {
};
struct dsi_qsync_capabilities {
/* qsync disabled if qsync_min_fps = 0 */
bool qsync_support;
u32 qsync_min_fps;
u32 *qsync_min_fps_list;
int qsync_min_fps_list_len;