diff options
| -rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index fce3802ec..76f1bc287 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -17,26 +17,8 @@ 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, choose between gallium and osmesa, and between enabling | 20 | # For NXP BSP, GPU drivers don't support dri |
| 21 | # dri and swrast or not. gallium and dri are default. | 21 | PACKAGECONFIG_remove_imxgpu_use-nxp-bsp = "dri" |
| 22 | # | ||
| 23 | # For parts with no GPU, use gallium and dri | ||
| 24 | PACKAGECONFIG_REMOVE_NXPBSP = "" | ||
| 25 | PACKAGECONFIG_APPEND_NXPBSP = "" | ||
| 26 | DRIDRIVERS_NXPBSP = "" | ||
| 27 | # | ||
| 28 | # For parts with GPU but no DRM, use gallium | ||
| 29 | PACKAGECONFIG_REMOVE_NXPBSP_imxgpu = "dri" | ||
| 30 | DRIDRIVERS_NXPBSP_imxgpu = "" | ||
| 31 | # | ||
| 32 | # For parts with GPU and DRM, use osmesa, dri, and swrast | ||
| 33 | PACKAGECONFIG_REMOVE_NXPBSP_imxgpu_imxdrm = "gallium" | ||
| 34 | PACKAGECONFIG_APPEND_NXPBSP_imxgpu_imxdrm = "osmesa" | ||
| 35 | DRIDRIVERS_NXPBSP_imxgpu_imxdrm = "swrast" | ||
| 36 | # | ||
| 37 | PACKAGECONFIG_remove_use-nxp-bsp = "${PACKAGECONFIG_REMOVE_NXPBSP}" | ||
| 38 | PACKAGECONFIG_append_use-nxp-bsp = " ${PACKAGECONFIG_APPEND_NXPBSP}" | ||
| 39 | DRIDRIVERS_use-nxp-bsp = "${DRIDRIVERS_NXPBSP}" | ||
| 40 | 22 | ||
| 41 | BACKEND = \ | 23 | BACKEND = \ |
| 42 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 24 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
