vendor: display: Disable UBWC-P on <6.1 targets

This is not supported on legacy targets.

Change-Id: I520cf65d4415281bb90ae03ba84e7e65bbafdf84
This commit is contained in:
Jake Weinstein 2023-10-07 14:58:07 +09:00
parent b62fe29693
commit 229b199bf2
1 changed files with 5 additions and 0 deletions

View File

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