diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-01-29 14:36:20 -0600 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-01-29 23:13:58 -0300 |
| commit | a8706239390f21621e175c61e3cc03630d650a10 (patch) | |
| tree | 1e1ba0a6fa2482f1d643284fedb7251eeb4f4480 | |
| parent | 9a90b21cbe32231fee51c7f38e541b3be3aff6b3 (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 3a0874256..4f38acd9d 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -18,8 +18,10 @@ python () { | |||
| 18 | PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno" | 18 | PACKAGECONFIG_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 | ||
| 21 | PACKAGECONFIG_remove_use-nxp-bsp_imxdrm = "gallium" | 22 | PACKAGECONFIG_remove_use-nxp-bsp_imxdrm = "gallium" |
| 22 | PACKAGECONFIG_append_use-nxp-bsp_imxdrm = " osmesa" | 23 | PACKAGECONFIG_append_use-nxp-bsp_imxdrm = " osmesa" |
| 24 | DRIDRIVERS_use-nxp-bsp_imxdrm = "swrast" | ||
| 23 | 25 | ||
| 24 | BACKEND = \ | 26 | BACKEND = \ |
| 25 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 27 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
