From 4a20a16ec02de8b217ac514347135b9d0b75828f Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Tue, 15 Feb 2022 22:23:14 +0100 Subject: [PATCH] sm8250-common: build drm 1.4 clearkey --- BoardConfigCommon.mk | 3 +++ sm8250.mk | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 722b9b0..20360bc 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -108,6 +108,9 @@ TARGET_USES_QCOM_DISPLAY_BSP := true TARGET_USES_QTI_MAPPER_2_0 := true TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true +# DRM +TARGET_ENABLE_MEDIADRM_64 := true + # HIDL DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \ vendor/lineage/config/device_framework_matrix.xml diff --git a/sm8250.mk b/sm8250.mk index a8e0773..04ce54a 100644 --- a/sm8250.mk +++ b/sm8250.mk @@ -121,6 +121,10 @@ PRODUCT_PACKAGES += \ vendor.qti.hardware.display.mapper@3.0.vendor \ vendor.qti.hardware.display.mapper@4.0.vendor +# DRM +PRODUCT_PACKAGES += \ + android.hardware.drm@1.4-service.clearkey + # fastbootd PRODUCT_PACKAGES += \ fastbootd