From 83f31f5ebbf55302cd9f81776cf5a3891305de0d Mon Sep 17 00:00:00 2001 From: Krishna Manikandan Date: Fri, 29 Nov 2019 14:39:51 +0530 Subject: [PATCH] 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 --- msm/sde/sde_crtc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msm/sde/sde_crtc.c b/msm/sde/sde_crtc.c index e2ef6908ea4a..91d36b940914 100644 --- a/msm/sde/sde_crtc.c +++ b/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);