Skip to content

Add Android makefiles for tegra target

Rashed Abdel-Tawab requested to merge rashedabdeltawab/mesa:tegra-android into main

Tegra devices use the tegra-drm driver to pipe output from the nouveau GPU backend to to displays. To do this, both the tegra and nouveau mesa drivers need to be enabled:

BoardConfig.mk: BOARD_GPU_DRIVERS := tegra nouveau

device.mk: PRODUCT_PROPERTY_OVERRIDES +=
ro.hardware.hwcomposer=drm
hwc.drm.device=/dev/dri/card1
gralloc.gbm.device=/dev/dri/renderD129
drm.gpu.vendor_name=tegra

This has already been merged in the downstream Android mesa fork: https://android-review.googlesource.com/c/platform/external/mesa3d/+/1310336

Merge request reports