From: Tom Hochstein Date: Fri, 29 Jan 2021 20:36:20 +0000 (-0600) Subject: mesa: Re-enable dri driver swrast for NXP BSP X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1aff2e34a84573d8d4f8a36561c99c8540ae5b1a;p=meta-freescale.git mesa: Re-enable dri driver swrast for NXP BSP Seems swrast won't disable hardware acceleration and is still needed to prevent a build break in xserver-xorg. ``` | Package dri was not found in the pkg-config search path. | Perhaps you should add the directory containing `dri.pc' | to the PKG_CONFIG_PATH environment variable | No package 'dri' found ``` Signed-off-by: Tom Hochstein (cherry picked from commit a8706239390f21621e175c61e3cc03630d650a10) --- diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 3a087425..4f38acd9 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -18,8 +18,10 @@ python () { PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno" # For NXP BSP, enable OSMesa for parts with DRM +# Also enable swrast for its dri driver PACKAGECONFIG_remove_use-nxp-bsp_imxdrm = "gallium" PACKAGECONFIG_append_use-nxp-bsp_imxdrm = " osmesa" +DRIDRIVERS_use-nxp-bsp_imxdrm = "swrast" BACKEND = \ "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \