From b49a17b79d3e825244e8f11ad01915d344558d1a Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 7 Apr 2025 00:08:42 +0200 Subject: [PATCH] sm8450-common: Remove unnecessary display board flags TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS - only used by configstore which is long dead TARGET_USES_DISPLAY_RENDER_INTENTS - only set in qcom configs but unused TARGET_USES_GRALLOC4 - defaults to true TARGET_USES_HWC2 - only used by sdm660 and msm8953 display hals MAX_VIRTUAL_DISPLAY_DIMENSION - replaced by property `ro.surface_flinger.max_virtual_display_dimension` which is already set NUM_FRAMEBUFFER_SURFACE_BUFFERS - replaced by property `ro.surface_flinger.max_frame_buffer_acquired_buffers` which is already set Change-Id: I67218cfcc0346ccc4b5ac44167f464becebc449a --- BoardConfigCommon.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index e8ca2a1..ae192f6 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -64,14 +64,6 @@ TARGET_NO_BOOTLOADER := true # Camera TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true -# Display -TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true -TARGET_USES_DISPLAY_RENDER_INTENTS := true -TARGET_USES_GRALLOC4 := true -TARGET_USES_HWC2 := true -MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 -NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 - # Filesystem TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/configs/config.fs