]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Re-enable dri driver swrast for NXP BSP
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 29 Jan 2021 20:36:20 +0000 (14:36 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 3 Feb 2021 19:48:43 +0000 (16:48 -0300)
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>
(cherry picked from commit a8706239390f21621e175c61e3cc03630d650a10)

recipes-graphics/mesa/mesa_%.bbappend

index 3a087425613360bc705a186da6ac830cbca27227..4f38acd9deb07bf0dfd382058f131e5f1b0e95ee 100644 (file)
@@ -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', \