disp: msm: restrict AVR_STEP based on panel requirement

Some panels require a fixed step rate for a particular mode.
This change allows DSI panels to specify a single supported
step rate for each nominal fps rate which SDE will enforce
during atomic check of AVR parameters.

Change-Id: I049415449bc88ccd396fced16d4534251eac3a06
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
此提交包含在:
Steve Cohen
2021-02-02 19:16:55 -05:00
父節點 cf86c94f8e
當前提交 e5fa459062
共有 9 個檔案被更改,包括 135 行新增8 行删除

查看文件

@@ -389,6 +389,14 @@ struct sde_connector_ops {
* Returns: Qsync min fps value on success
*/
int (*get_qsync_min_fps)(void *display, u32 mode_fps);
/**
* get_avr_step_req - Get the required avr_step for given fps rate
* @display: Pointer to private display structure
* @mode_fps: Fps value in dfps list
* Returns: AVR step fps value on success
*/
int (*get_avr_step_req)(void *display, u32 mode_fps);
};
/**