disp: msm: check max FPS of DFPS to update UIDLE configurations

It is not applicable for all DFPS cases to update UIDLE state
according to current frame rate. If DFPS changes frame rate
through vertical front porch values, the SDE clocks and transfer
time will not get changed accordingly, and it always get fixed
at max frame rate configuration of DFPS.
Add this change to check max FPS of DFPS instead of current
frame rate for UIDLE update, if DFPS is enabled with VFP.

Change-Id: I7634bce6a9eb1af212ba19a267735be08b20ae1f
Signed-off-by: Lei Chen <chenlei@codeaurora.org>
This commit is contained in:
Lei Chen
2020-08-26 17:34:13 +08:00
والد 987b50fe8f
کامیت c44e0b42df
6فایلهای تغییر یافته به همراه78 افزوده شده و 1 حذف شده

مشاهده پرونده

@@ -652,6 +652,12 @@ enum sde_intf_mode sde_crtc_get_intf_mode(struct drm_crtc *crtc,
*/
u32 sde_crtc_get_fps_mode(struct drm_crtc *crtc);
/**
* sde_crtc_get_dfps_maxfps - get DFPS max fps of the given crtc
* @crtc: Pointert to crtc
*/
u32 sde_crtc_get_dfps_maxfps(struct drm_crtc *crtc);
/**
* sde_crtc_get_client_type - check the crtc type- rt, rsc_rt, etc.
* @crtc: Pointer to crtc