From d8cabe36c1e6393bcb35368b94c383eaaec686a8 Mon Sep 17 00:00:00 2001 From: Yashwanth Date: Mon, 16 Dec 2019 16:42:45 +0530 Subject: [PATCH] disp: msm: sde: add uidle property to the crtc This change adds support to check whether uidle is supported for given target. Change-Id: Icd7ef36eeefcd8d1fc3c960dc7c7560469945408 Signed-off-by: Yashwanth --- msm/sde/sde_crtc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/msm/sde/sde_crtc.c b/msm/sde/sde_crtc.c index 0047ebb1ed..09c7307d68 100644 --- a/msm/sde/sde_crtc.c +++ b/msm/sde/sde_crtc.c @@ -4920,6 +4920,10 @@ static void sde_crtc_setup_capabilities_blob(struct sde_kms_info *info, sde_kms_info_add_keyint(info, "has_hdr", catalog->has_hdr); sde_kms_info_add_keyint(info, "has_hdr_plus", catalog->has_hdr_plus); + if (catalog->uidle_cfg.uidle_rev) + sde_kms_info_add_keyint(info, "has_uidle", + true); + for (i = 0; i < catalog->limit_count; i++) { sde_kms_info_add_keyint(info, catalog->limit_cfg[i].name,