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
rodzic 8a2ddb713f
commit 64b732f335
15 zmienionych plików z 89 dodań i 61 usunięć

Wyświetl plik

@@ -747,6 +747,7 @@ struct msm_dyn_clk_list {
* @allowed_mode_switches: bit mask to indicate supported mode switch.
* @disable_rsc_solver: Dynamically disable RSC solver for the timing mode due to lower bitclk rate.
* @dyn_clk_list: List of dynamic clock rates for RFI.
* @qsync_min_fps: qsync min fps rate
*/
struct msm_mode_info {
uint32_t frame_rate;
@@ -765,6 +766,7 @@ struct msm_mode_info {
u32 allowed_mode_switches;
bool disable_rsc_solver;
struct msm_dyn_clk_list dyn_clk_list;
u32 qsync_min_fps;
};
/**