From 229b199bf233a5a0dc0d2598ee1692c26a7670bc Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Sat, 7 Oct 2023 14:58:07 +0900 Subject: [PATCH] vendor: display: Disable UBWC-P on <6.1 targets This is not supported on legacy targets. Change-Id: I520cf65d4415281bb90ae03ba84e7e65bbafdf84 --- vendor/display/qti-display.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vendor/display/qti-display.mk b/vendor/display/qti-display.mk index cf79ade3..1b544b8e 100644 --- a/vendor/display/qti-display.mk +++ b/vendor/display/qti-display.mk @@ -67,5 +67,10 @@ ifneq (,$(filter 3.18 4.4 4.9 4.14 4.19 5.4 5.10, $(TARGET_KERNEL_VERSION))) TARGET_GRALLOC_HANDLE_HAS_NO_CUSTOM_CONTENT_MD_RESERVED_SIZE := true endif +# Disable UBWC-P on <6.1 targets +ifneq (,$(filter 3.18 4.4 4.9 4.14 4.19 5.4 5.10 5.15, $(TARGET_KERNEL_VERSION))) +TARGET_GRALLOC_HANDLE_HAS_NO_UBWCP := true +endif + # Get non-open-source specific aspects. $(call inherit-product-if-exists, vendor/qcom/common/vendor/display/$(TARGET_KERNEL_VERSION)/display-vendor.mk)