]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: For NXP BSP align DRM parts to other GPU parts
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 29 Mar 2021 21:18:57 +0000 (16:18 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Apr 2021 20:30:43 +0000 (17:30 -0300)
With swrast no longer supported, align the DRM parts with the other
non-DRM GPU parts, dropping osmesa, swrast, and dri, and restoring
gallium. This undoes 3b0fc73.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/mesa/mesa_%.bbappend

index fce3802ec6f3743997eeb645547235e677242a55..76f1bc28794bc4428f87f3f97babaf3b03a46ac6 100644 (file)
@@ -17,26 +17,8 @@ python () {
 # Enable Etnaviv and Freedreno support
 PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno"
 
-# For NXP BSP, choose between gallium and osmesa, and between enabling
-# dri and swrast or not. gallium and dri are default.
-#
-# For parts with no GPU, use gallium and dri
-PACKAGECONFIG_REMOVE_NXPBSP               = ""
-PACKAGECONFIG_APPEND_NXPBSP               = ""
-DRIDRIVERS_NXPBSP                         = ""
-#
-# For parts with GPU but no DRM, use gallium
-PACKAGECONFIG_REMOVE_NXPBSP_imxgpu        = "dri"
-DRIDRIVERS_NXPBSP_imxgpu                  = ""
-#
-# For parts with GPU and DRM, use osmesa, dri, and swrast
-PACKAGECONFIG_REMOVE_NXPBSP_imxgpu_imxdrm = "gallium"
-PACKAGECONFIG_APPEND_NXPBSP_imxgpu_imxdrm = "osmesa"
-DRIDRIVERS_NXPBSP_imxgpu_imxdrm           = "swrast"
-#
-PACKAGECONFIG_remove_use-nxp-bsp = "${PACKAGECONFIG_REMOVE_NXPBSP}"
-PACKAGECONFIG_append_use-nxp-bsp = " ${PACKAGECONFIG_APPEND_NXPBSP}"
-DRIDRIVERS_use-nxp-bsp           = "${DRIDRIVERS_NXPBSP}"
+# For NXP BSP, GPU drivers don't support dri
+PACKAGECONFIG_remove_imxgpu_use-nxp-bsp = "dri"
 
 BACKEND = \
     "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \