summaryrefslogtreecommitdiff
path: root/device-common.mk
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2020-09-18 20:54:06 +0000
committerJohn Stultz <john.stultz@linaro.org>2021-07-13 19:07:55 +0000
commit26f5a0dceb025ba5312047fc7f4684953e0451e2 (patch)
tree3c4725a0bbc291ce5db256b50cfa238ff8655b4c /device-common.mk
parente4b2cbd62723f711e40761c43d5b5f710a0a7d79 (diff)
db845c: Switch gralloc to use gralloc.minigbm_msm instead of gralloc_gbm
Instead of carying our own copy of gralloc_gbm, try to utilize the minigbm gralloc as it implements gralloc4 Change-Id: I628ff76d3ef7cf441b122bc6f2e49f662b0c7ed5 Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'device-common.mk')
-rw-r--r--device-common.mk27
1 files changed, 19 insertions, 8 deletions
diff --git a/device-common.mk b/device-common.mk
index fa79ab0..718d398 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -46,22 +46,33 @@ PRODUCT_PRODUCT_PROPERTIES := \
PRODUCT_PACKAGES += \
android.hardware.drm@1.3-service.clearkey \
android.hardware.drm@1.3-service.widevine \
- android.hardware.graphics.allocator@2.0-impl \
- android.hardware.graphics.allocator@2.0-service \
- android.hardware.graphics.composer@2.2-impl \
- android.hardware.graphics.composer@2.2-service \
- android.hardware.graphics.mapper@2.0-impl-2.1 \
- gralloc.gbm \
- hwcomposer.drm \
libGLES_mesa
PRODUCT_PROPERTY_OVERRIDES += \
- ro.hardware.gralloc=gbm \
+ ro.hardware.gralloc=minigbm_msm \
ro.hardware.hwcomposer=drm \
debug.sf.no_hw_vsync=1 \
ro.opengles.version=196608 \
persist.demo.rotationlock=1
+
+#
+# Hardware Composer HAL
+#
+PRODUCT_PACKAGES += \
+ hwcomposer.drm \
+ android.hardware.graphics.composer@2.3-impl \
+ android.hardware.graphics.composer@2.3-service
+
+#
+# Gralloc HAL
+#
+PRODUCT_PACKAGES += \
+ gralloc.minigbm_msm \
+ android.hardware.graphics.allocator@4.0-service.minigbm_msm \
+ android.hardware.graphics.mapper@4.0-impl.minigbm_msm
+
+
# Use Launcher3QuickStep
PRODUCT_PACKAGES += Launcher3QuickStep