summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2021-01-29 14:36:20 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2021-01-29 23:13:58 -0300
commita8706239390f21621e175c61e3cc03630d650a10 (patch)
tree1e1ba0a6fa2482f1d643284fedb7251eeb4f4480 /recipes-graphics
parent9a90b21cbe32231fee51c7f38e541b3be3aff6b3 (diff)
downloadmeta-freescale-a8706239390f21621e175c61e3cc03630d650a10.tar.gz
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 <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend2
1 files changed, 2 insertions, 0 deletions
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 () {
18PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno" 18PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno"
19 19
20# For NXP BSP, enable OSMesa for parts with DRM 20# For NXP BSP, enable OSMesa for parts with DRM
21# Also enable swrast for its dri driver
21PACKAGECONFIG_remove_use-nxp-bsp_imxdrm = "gallium" 22PACKAGECONFIG_remove_use-nxp-bsp_imxdrm = "gallium"
22PACKAGECONFIG_append_use-nxp-bsp_imxdrm = " osmesa" 23PACKAGECONFIG_append_use-nxp-bsp_imxdrm = " osmesa"
24DRIDRIVERS_use-nxp-bsp_imxdrm = "swrast"
23 25
24BACKEND = \ 26BACKEND = \
25 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 27 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \