소스 검색

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);