From a8706239390f21621e175c61e3cc03630d650a10 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Fri, 29 Jan 2021 14:36:20 -0600 Subject: 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 --- recipes-graphics/mesa/mesa_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-graphics/mesa') 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', \ -- cgit v1.2.3-54-g00ecf