diff options
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 79099fab77..1fb824d8ab 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
| @@ -89,9 +89,9 @@ PACKAGECONFIG = " \ | |||
| 89 | # skip all Rust dependencies if we are not building OpenCL" | 89 | # skip all Rust dependencies if we are not building OpenCL" |
| 90 | INHIBIT_DEFAULT_RUST_DEPS = "${@bb.utils.contains('PACKAGECONFIG', 'opencl', '', '1', d)}" | 90 | INHIBIT_DEFAULT_RUST_DEPS = "${@bb.utils.contains('PACKAGECONFIG', 'opencl', '', '1', d)}" |
| 91 | 91 | ||
| 92 | PACKAGECONFIG:append:x86 = " libclc gallium-llvm" | 92 | PACKAGECONFIG:append:x86 = " libclc gallium-llvm intel" |
| 93 | PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm" | 93 | PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel" |
| 94 | PACKAGECONFIG:append:i686 = " libclc gallium-llvm" | 94 | PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel" |
| 95 | PACKAGECONFIG:append:class-native = " libclc gallium-llvm r600" | 95 | PACKAGECONFIG:append:class-native = " libclc gallium-llvm r600" |
| 96 | 96 | ||
| 97 | # "gbm" requires "opengl" | 97 | # "gbm" requires "opengl" |
| @@ -108,7 +108,7 @@ VULKAN_DRIVERS_AMD:x86-64 = ",amd" | |||
| 108 | # i686 is a 32 bit override for mesa-native | 108 | # i686 is a 32 bit override for mesa-native |
| 109 | VULKAN_DRIVERS_AMD:i686 = ",amd" | 109 | VULKAN_DRIVERS_AMD:i686 = ",amd" |
| 110 | 110 | ||
| 111 | VULKAN_DRIVERS_INTEL = "${@bb.utils.contains('PACKAGECONFIG', 'libclc', ',intel', '', d)}" | 111 | VULKAN_DRIVERS_INTEL = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc', ',intel', '', d)}" |
| 112 | VULKAN_DRIVERS_SWRAST = ",swrast" | 112 | VULKAN_DRIVERS_SWRAST = ",swrast" |
| 113 | # Crashes on x32 | 113 | # Crashes on x32 |
| 114 | VULKAN_DRIVERS_SWRAST:x86-x32 = "" | 114 | VULKAN_DRIVERS_SWRAST:x86-x32 = "" |
| @@ -169,10 +169,6 @@ PACKAGECONFIG[zink] = "" | |||
| 169 | GALLIUMDRIVERS = "softpipe" | 169 | GALLIUMDRIVERS = "softpipe" |
| 170 | # gallium swrast was found to crash Xorg on startup in x32 qemu | 170 | # gallium swrast was found to crash Xorg on startup in x32 qemu |
| 171 | GALLIUMDRIVERS:x86-x32 = "" | 171 | GALLIUMDRIVERS:x86-x32 = "" |
| 172 | GALLIUMDRIVERS:append:x86 = ",i915,crocus" | ||
| 173 | GALLIUMDRIVERS:append:x86-64 = ",i915,crocus" | ||
| 174 | # i686 is a 32 bit override for mesa-native | ||
| 175 | GALLIUMDRIVERS:append:i686 = ",i915,crocus" | ||
| 176 | 172 | ||
| 177 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | 173 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" |
| 178 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | 174 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" |
| @@ -181,7 +177,7 @@ GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '' | |||
| 181 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', '', d)}" | 177 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', '', d)}" |
| 182 | 178 | ||
| 183 | # radeonsi requires LLVM | 179 | # radeonsi requires LLVM |
| 184 | GALLIUMDRIVERS_IRIS = "${@bb.utils.contains('PACKAGECONFIG', 'libclc', ',iris', '', d)}" | 180 | GALLIUMDRIVERS_IRIS = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc', ',iris', '', d)}" |
| 185 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" | 181 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" |
| 186 | GALLIUMDRIVERS_LLVMPIPE = ",llvmpipe" | 182 | GALLIUMDRIVERS_LLVMPIPE = ",llvmpipe" |
| 187 | # llvmpipe crashes on x32 | 183 | # llvmpipe crashes on x32 |
| @@ -215,6 +211,9 @@ PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=enabled,-Dgallium-vdpau=disabled,libvdpa | |||
| 215 | 211 | ||
| 216 | PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false" | 212 | PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false" |
| 217 | 213 | ||
| 214 | PACKAGECONFIG[intel] = "" | ||
| 215 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel', ',i915,crocus', '', d)}" | ||
| 216 | |||
| 218 | PACKAGECONFIG[lima] = "" | 217 | PACKAGECONFIG[lima] = "" |
| 219 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | 218 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" |
| 220 | 219 | ||
