Răsfoiți Sursa

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 <[email protected]>
Yashwanth 5 ani în urmă
părinte
comite
d8cabe36c1
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      msm/sde/sde_crtc.c

+ 4 - 0
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,