disp: msm: sde: fix uidle disable configuration

Fix uidle disable setting when panel fps is beyond supported
FAL1 and FAL10 limit.

Change-Id: If76f1789f5f2677e503375234e8d4029c455d455
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel
2021-05-27 12:18:25 -07:00
parent 611a412fd0
commit cfa81fdcaf
2 changed files with 10 additions and 3 deletions

View File

@@ -3312,6 +3312,10 @@ static void sde_encoder_underrun_callback(struct drm_encoder *drm_enc,
trace_sde_encoder_underrun(DRMID(drm_enc),
atomic_read(&phy_enc->underrun_cnt));
if (phy_enc->sde_kms &&
phy_enc->sde_kms->catalog->uidle_cfg.debugfs_perf)
sde_encoder_perf_uidle_status(phy_enc->sde_kms, sde_enc->crtc);
SDE_DBG_CTRL("stop_ftrace");
SDE_DBG_CTRL("panic_underrun");