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
förälder 8a2ddb713f
incheckning 64b732f335
15 ändrade filer med 89 tillägg och 61 borttagningar

Visa fil

@@ -400,10 +400,10 @@ struct sde_connector_ops {
/**
* 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
* @conn_state: Pointer to drm_connector_state structure
* Returns: Qsync min fps value on success
*/
int (*get_qsync_min_fps)(void *display, u32 mode_fps);
int (*get_qsync_min_fps)(void *display, struct drm_connector_state *conn_state);
/**
* get_avr_step_req - Get the required avr_step for given fps rate