diff options
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 4f38acd9..b6dbcc2f 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
@@ -17,10 +17,15 @@ python () { | |||
17 | # Enable Etnaviv and Freedreno support | 17 | # Enable Etnaviv and Freedreno support |
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, disable dri for parts without DRM. |
21 | # Also enable swrast for its dri driver | 21 | # Disable gallium and enable OSMesa for parts with DRM. |
22 | PACKAGECONFIG_remove_use-nxp-bsp_imxdrm = "gallium" | 22 | # Also enable swrast for its dri driver for parts with DRM. |
23 | PACKAGECONFIG_append_use-nxp-bsp_imxdrm = " osmesa" | 23 | PACKAGECONFIG_REMOVE_NXPBSP = "dri" |
24 | PACKAGECONFIG_APPEND_NXPBSP = "" | ||
25 | PACKAGECONFIG_REMOVE_NXPBSP_imxdrm = "gallium" | ||
26 | PACKAGECONFIG_APPEND_NXPBSP_imxdrm = "osmesa" | ||
27 | PACKAGECONFIG_remove_use-nxp-bsp = "${PACKAGECONFIG_REMOVE_NXPBSP}" | ||
28 | PACKAGECONFIG_append_use-nxp-bsp = " ${PACKAGECONFIG_APPEND_NXPBSP}" | ||
24 | DRIDRIVERS_use-nxp-bsp_imxdrm = "swrast" | 29 | DRIDRIVERS_use-nxp-bsp_imxdrm = "swrast" |
25 | 30 | ||
26 | BACKEND = \ | 31 | BACKEND = \ |