Commit 3e3dcdba authored by Bob Beckett's avatar Bob Beckett
Browse files

yukawa: include mesa gralloc.gbm and hwcomposer.drm



include upstream gfx stack packages
Signed-off-by: Bob Beckett's avatarRobert Beckett <bob.beckett@collabora.com>
parent 290b77cf
ifeq ($(TARGET_USE_PANFROST), true)
# mesa driver selection
PRODUCT_SOONG_NAMESPACES += external/mesa3d
BOARD_GPU_DRIVERS := panfrost kmsro
BOARD_MESA3D_USES_MESON_BUILD := true
BOARD_MESA3D_GALLIUM_DRIVERS := panfrost kmsro
BOARD_MESA3D_BUILD_LIBGBM := true
# OpenGL driver
PRODUCT_PACKAGES += \
libGLES_mesa
libEGL_mesa \
libGLESv1_CM_mesa \
libGLESv2_mesa \
libgallium_dri \
libglapi \
libgbm_mesa
# Composer HAL for minigbm + minigbm gralloc0:
PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.allocator@2.0-service \
android.hardware.graphics.mapper@2.0-impl-2.1 \
hwcomposer.drm_minigbm \
gralloc.minigbm
android.hardware.graphics.mapper@2.0-impl-2.1
# mesa gbm
PRODUCT_PACKAGES += \
hwcomposer.drm \
gralloc.gbm
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.gralloc=gbm \
ro.hardware.hwcomposer=drm
# Composer passthrough HAL
PRODUCT_PACKAGES += \
android.hardware.graphics.composer@2.1-impl \
android.hardware.graphics.composer@2.1-service \
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.gralloc=minigbm \
ro.hardware.hwcomposer=drm_minigbm
# Display
PRODUCT_PACKAGES += \
android.hardware.drm@1.3-service.clearkey \
......
......@@ -92,6 +92,7 @@
<instance>default</instance>
</interface>
</hal>
<!--
<hal format="hidl">
<name>android.hardware.graphics.allocator</name>
<transport>hwbinder</transport>
......@@ -110,6 +111,7 @@
<instance>default</instance>
</interface>
</hal>
-->
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment