From 518ed579963436cd7d3acd9053ca66bbbd48e77c Mon Sep 17 00:00:00 2001 From: GiaSen Date: Tue, 6 Sep 2022 15:23:37 +0200 Subject: [PATCH] sdm710-common: Kang display configs from xiaomi-sdm710 After new kernel has now everything working codecs bug went brr Thanks sebaubuntu for not helping me :) --- BoardConfigCommon.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 3e82f8e..6550c33 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -66,12 +66,10 @@ TARGET_USES_QTI_CAMERA_DEVICE := true # Display TARGET_SCREEN_DENSITY := 440 +TARGET_HAS_WIDE_COLOR_DISPLAY := true +TARGET_USES_GRALLOC1 := true TARGET_USES_HWC2 := true TARGET_USES_ION := true -TARGET_USES_GRALLOC1 := true -TARGET_USES_DRM_PP := true -MAX_EGL_CACHE_KEY_SIZE := 12*1024 -MAX_EGL_CACHE_SIZE := 2048*1024 # DRM TARGET_ENABLE_MEDIADRM_64 := true @@ -83,9 +81,6 @@ TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/config.fs BOARD_HAVE_QCOM_FM := true BOARD_HAS_QCA_FM_SOC := "cherokee" -# Graphics -TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x200000U | 0x2000U - # HIDL DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml DEVICE_MATRIX_FILE := $(COMMON_PATH)/compatibility_matrix.xml