Преглед изворни кода

disp: msm: add support to expose base layer staging property

Add support to expose base layer staging property to HAL.
In those targets where base layer staging is enabled in mixer,
layer with zorder 0 will be staged as base layer.

Change-Id: Id825357c61ac6913bdcb8a184fc501236519d5dd
Signed-off-by: Krishna Manikandan <[email protected]>
Krishna Manikandan пре 5 година
родитељ
комит
83f31f5ebb
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      msm/sde/sde_crtc.c

+ 3 - 0
msm/sde/sde_crtc.c

@@ -5075,6 +5075,9 @@ static void sde_crtc_install_properties(struct drm_crtc *crtc,
 	msm_property_install_blob(&sde_crtc->property_info, "capabilities",
 		DRM_MODE_PROP_IMMUTABLE, CRTC_PROP_INFO);
 
+	sde_kms_info_add_keyint(info, "use_baselayer_for_stage",
+			 catalog->has_base_layer);
+
 	msm_property_set_blob(&sde_crtc->property_info, &sde_crtc->blob_info,
 			info->data, SDE_KMS_INFO_DATALEN(info),
 			CRTC_PROP_INFO);