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>
Bu işleme şunda yer alıyor:
Lei Chen
2020-08-26 17:34:13 +08:00
ebeveyn 987b50fe8f
işleme c44e0b42df
6 değiştirilmiş dosya ile 78 ekleme ve 1 silme

Dosyayı Görüntüle

@@ -675,6 +675,7 @@ struct msm_display_topology {
* @jitter_numer: display panel jitter numerator configuration
* @jitter_denom: display panel jitter denominator configuration
* @clk_rate: DSI bit clock per lane in HZ.
* @dfps_maxfps: max FPS of dynamic FPS
* @topology: supported topology for the mode
* @comp_info: compression info supported
* @roi_caps: panel roi capabilities
@@ -689,6 +690,7 @@ struct msm_mode_info {
uint32_t jitter_numer;
uint32_t jitter_denom;
uint64_t clk_rate;
uint32_t dfps_maxfps;
struct msm_display_topology topology;
struct msm_compression_info comp_info;
struct msm_roi_caps roi_caps;