diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2025-10-10 14:59:51 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-13 18:01:04 +0100 |
| commit | c4c27366f52e9c08dc48bde1521dcaff9d4f2f14 (patch) | |
| tree | 37354da4b466899ad61952263fcb8402796f2f79 | |
| parent | c3f66e88e298ad4b9ec6cbc145676dc78f5592f2 (diff) | |
| download | poky-c4c27366f52e9c08dc48bde1521dcaff9d4f2f14.tar.gz | |
mesa: sort out driver lists
Sort the lists of VUKAN_DRIVERS, GALLIUMDRIVERS and driver-related
PACAKGECONFIG entries, making it easier to add new drivers or to find
out the correct dependencies for the driver.
(From OE-Core rev: 64108679ada885b74fcc6ac49f9e5e983f34e663)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 135 |
1 files changed, 69 insertions, 66 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 30bb512fec..ee00214111 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
| @@ -73,39 +73,79 @@ def strip_comma(s): | |||
| 73 | # skip all Rust dependencies if we are not building OpenCL" | 73 | # skip all Rust dependencies if we are not building OpenCL" |
| 74 | INHIBIT_DEFAULT_RUST_DEPS = "${@bb.utils.contains('PACKAGECONFIG', 'opencl', '', '1', d)}" | 74 | INHIBIT_DEFAULT_RUST_DEPS = "${@bb.utils.contains('PACKAGECONFIG', 'opencl', '', '1', d)}" |
| 75 | 75 | ||
| 76 | # "egl" requires "opengl" | ||
| 77 | PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" | ||
| 78 | |||
| 76 | # "gbm" requires "opengl" | 79 | # "gbm" requires "opengl" |
| 77 | PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled" | 80 | PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled" |
| 78 | 81 | ||
| 82 | # "gles" requires "opengl" | ||
| 83 | PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2=disabled" | ||
| 84 | |||
| 85 | PACKAGECONFIG[glvnd] = "-Dglvnd=enabled, -Dglvnd=disabled, libglvnd" | ||
| 86 | |||
| 87 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" | ||
| 88 | |||
| 89 | # "opencl" also requires libclc and gallium-llvm to be present in PKGCONFIG! | ||
| 90 | # Be sure to enable them both for the target and for the native build. | ||
| 91 | PACKAGECONFIG[opencl] = "-Dgallium-rusticl=true -Dmesa-clc-bundle-headers=enabled, -Dgallium-rusticl=false, bindgen-cli-native clang" | ||
| 92 | |||
| 79 | X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes xrandr xorgproto libxshmfence" | 93 | X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes xrandr xorgproto libxshmfence" |
| 80 | # "x11" requires "opengl" | 94 | # "x11" requires "opengl" |
| 81 | PACKAGECONFIG[x11] = ",-Dglx=disabled,${X11_DEPS}" | 95 | PACKAGECONFIG[x11] = ",-Dglx=disabled,${X11_DEPS}" |
| 82 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" | 96 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" |
| 83 | 97 | ||
| 98 | # Entries for GPU vendors. | ||
| 99 | # Some of the drivers might have extra dependencies (libclc, gallium-llvm). | ||
| 100 | # Check them in the individual driver settings in VULKAN_DRIVERS and | ||
| 101 | # GALLIUMDRIVERS. | ||
| 102 | PACKAGECONFIG[amd] = "" | ||
| 103 | PACKAGECONFIG[asahi] = "" | ||
| 104 | PACKAGECONFIG[broadcom] = "" | ||
| 105 | PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" | ||
| 106 | PACKAGECONFIG[freedreno] = "" | ||
| 107 | PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false" | ||
| 108 | PACKAGECONFIG[intel] = "" | ||
| 109 | PACKAGECONFIG[lima] = "" | ||
| 110 | PACKAGECONFIG[nouveau] = "" | ||
| 111 | PACKAGECONFIG[panfrost] = "" | ||
| 112 | PACKAGECONFIG[svga] = "" | ||
| 113 | PACKAGECONFIG[tegra] = "" | ||
| 114 | PACKAGECONFIG[v3d] = "" | ||
| 115 | PACKAGECONFIG[vc4] = "" | ||
| 116 | PACKAGECONFIG[virgl] = "" | ||
| 117 | PACKAGECONFIG[zink] = "" | ||
| 118 | |||
| 84 | VULKAN_DRIVERS = "" | 119 | VULKAN_DRIVERS = "" |
| 85 | 120 | ||
| 86 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd gallium-llvm', ',amd', '', d)}" | ||
| 87 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'asahi libclc gallium-llvm', ',asahi', '', d)}" | ||
| 88 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc gallium-llvm', ',intel', '', d)}" | ||
| 89 | VULKAN_DRIVERS_SWRAST = ",swrast" | 121 | VULKAN_DRIVERS_SWRAST = ",swrast" |
| 90 | # Crashes on x32 | 122 | # Crashes on x32 |
| 91 | VULKAN_DRIVERS_SWRAST:x86-x32 = "" | 123 | VULKAN_DRIVERS_SWRAST:x86-x32 = "" |
| 92 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${VULKAN_DRIVERS_SWRAST}', '', d)}" | ||
| 93 | 124 | ||
| 94 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | 125 | # keep sorted by the driver name (rather than PKGCONFIG) |
| 126 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd gallium-llvm', ',amd', '', d)}" | ||
| 127 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'asahi libclc gallium-llvm', ',asahi', '', d)}" | ||
| 95 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" | 128 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" |
| 129 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | ||
| 96 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination-experimental', '', d)}" | 130 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination-experimental', '', d)}" |
| 131 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc gallium-llvm', ',intel', '', d)}" | ||
| 132 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${VULKAN_DRIVERS_SWRAST}', '', d)}" | ||
| 97 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost libclc', ',panfrost', '', d)}" | 133 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost libclc', ',panfrost', '', d)}" |
| 134 | |||
| 98 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" | 135 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" |
| 136 | PACKAGECONFIG[vulkan-beta] = "-Dvulkan-beta=true,-Dvulkan-beta=false" | ||
| 99 | 137 | ||
| 100 | # mesa development and testing tools support, per driver | 138 | # mesa development and testing tools support, per driver |
| 101 | TOOLS = "" | 139 | TOOLS = "" |
| 102 | TOOLS_DEPS = "" | 140 | TOOLS_DEPS = "" |
| 141 | |||
| 142 | # keep sorted by the driver name (rather than PKGCONFIG) | ||
| 103 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'asahi', ',asahi', '', d)}" | 143 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'asahi', ',asahi', '', d)}" |
| 104 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | 144 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" |
| 105 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | 145 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" |
| 146 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination', '', d)}" | ||
| 106 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | 147 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" |
| 107 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" | 148 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" |
| 108 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination', '', d)}" | ||
| 109 | 149 | ||
| 110 | # dependencies for tools. | 150 | # dependencies for tools. |
| 111 | TOOLS_DEPS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ' ncurses libxml2 ', '', d)}" | 151 | TOOLS_DEPS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ' ncurses libxml2 ', '', d)}" |
| @@ -117,54 +157,37 @@ PACKAGECONFIG[freedreno-fdperf] = ",,libconfig" | |||
| 117 | PACKAGECONFIG[tools] = "-Dtools=${@strip_comma('${TOOLS}')}, -Dtools='', ${TOOLS_DEPS}" | 157 | PACKAGECONFIG[tools] = "-Dtools=${@strip_comma('${TOOLS}')}, -Dtools='', ${TOOLS_DEPS}" |
| 118 | PACKAGECONFIG[xmlconfig] = "-Dxmlconfig=enabled, -Dxmlconfig=disabled, expat" | 158 | PACKAGECONFIG[xmlconfig] = "-Dxmlconfig=enabled, -Dxmlconfig=disabled, expat" |
| 119 | 159 | ||
| 120 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" | 160 | GALLIUMDRIVERS = "" |
| 121 | PACKAGECONFIG[glvnd] = "-Dglvnd=enabled, -Dglvnd=disabled, libglvnd" | 161 | GALLIUMDRIVERS_LLVMPIPE = ",llvmpipe" |
| 122 | 162 | GALLIUMDRIVERS_SOFTPIPE = ",softpipe" | |
| 123 | # "gles" requires "opengl" | 163 | # gallium softpipe and llvmpipe was found to crash Xorg on startup in x32 qemu |
| 124 | PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2=disabled" | 164 | GALLIUMDRIVERS_LLVMPIPE:x86-x32 = "" |
| 125 | 165 | GALLIUMDRIVERS_SOFTPIPE:x86-x32 = "" | |
| 126 | # "egl" requires "opengl" | ||
| 127 | PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" | ||
| 128 | |||
| 129 | # "opencl" also requires libclc and gallium-llvm to be present in PKGCONFIG! | ||
| 130 | # Be sure to enable them both for the target and for the native build. | ||
| 131 | PACKAGECONFIG[opencl] = "-Dgallium-rusticl=true -Dmesa-clc-bundle-headers=enabled, -Dgallium-rusticl=false, bindgen-cli-native clang" | ||
| 132 | |||
| 133 | PACKAGECONFIG[broadcom] = "" | ||
| 134 | PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" | ||
| 135 | PACKAGECONFIG[freedreno] = "" | ||
| 136 | PACKAGECONFIG[vc4] = "" | ||
| 137 | PACKAGECONFIG[v3d] = "" | ||
| 138 | PACKAGECONFIG[zink] = "" | ||
| 139 | |||
| 140 | GALLIUMDRIVERS = "softpipe" | ||
| 141 | # gallium swrast was found to crash Xorg on startup in x32 qemu | ||
| 142 | GALLIUMDRIVERS:x86-x32 = "" | ||
| 143 | 166 | ||
| 167 | # keep sorted by the driver name (rather than PKGCONFIG) | ||
| 168 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'asahi libclc gallium-llvm', ',asahi', '', d)}" | ||
| 169 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel', ',crocus', '', d)}" | ||
| 144 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | 170 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" |
| 145 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | 171 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" |
| 146 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'vc4', ',vc4', '', d)}" | 172 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel', ',i915', '', d)}" |
| 147 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '', d)}" | ||
| 148 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', '', d)}" | ||
| 149 | |||
| 150 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'asahi libclc gallium-llvm', ',asahi', '', d)}" | ||
| 151 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd gallium-llvm', ',r300', '', d)}" | ||
| 152 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc gallium-llvm', ',iris', '', d)}" | 173 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc gallium-llvm', ',iris', '', d)}" |
| 174 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | ||
| 175 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${GALLIUMDRIVERS_LLVMPIPE}', '', d)}" | ||
| 153 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'nouveau gallium-llvm', ',nouveau', '', d)}" | 176 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'nouveau gallium-llvm', ',nouveau', '', d)}" |
| 177 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost libclc', ',panfrost', '', d)}" | ||
| 178 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd gallium-llvm', ',r300', '', d)}" | ||
| 179 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd', ',r600', '', d)}" | ||
| 154 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd gallium-llvm', ',radeonsi', '', d)}" | 180 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd gallium-llvm', ',radeonsi', '', d)}" |
| 155 | GALLIUMDRIVERS_LLVMPIPE = ",llvmpipe" | 181 | GALLIUMDRIVERS:append = "${GALLIUMDRIVERS_SOFTPIPE}" |
| 156 | # llvmpipe crashes on x32 | ||
| 157 | GALLIUMDRIVERS_LLVMPIPE:x86-x32 = "" | ||
| 158 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${GALLIUMDRIVERS_LLVMPIPE}', '', d)}" | ||
| 159 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'svga gallium-llvm', ',svga', '', d)}" | 182 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'svga gallium-llvm', ',svga', '', d)}" |
| 160 | 183 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'tegra', ',tegra', '', d)}" | |
| 161 | PACKAGECONFIG[amd] = "" | ||
| 162 | PACKAGECONFIG[nouveau] = "" | ||
| 163 | PACKAGECONFIG[svga] = "" | ||
| 164 | PACKAGECONFIG[virgl] = "" | ||
| 165 | |||
| 166 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'amd', ',r600', '', d)}" | ||
| 167 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}" | 184 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}" |
| 185 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'vc4', ',vc4', '', d)}" | ||
| 186 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '', d)}" | ||
| 187 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', '', d)}" | ||
| 188 | |||
| 189 | PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm" | ||
| 190 | PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm llvm-native elfutils" | ||
| 168 | 191 | ||
| 169 | MESA_CLC = "system" | 192 | MESA_CLC = "system" |
| 170 | MESA_CLC:class-native = "enabled" | 193 | MESA_CLC:class-native = "enabled" |
| @@ -173,30 +196,10 @@ INSTALL_MESA_CLC:class-native = "true" | |||
| 173 | MESA_NATIVE = "mesa-native" | 196 | MESA_NATIVE = "mesa-native" |
| 174 | MESA_NATIVE:class-native = "" | 197 | MESA_NATIVE:class-native = "" |
| 175 | 198 | ||
| 176 | PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm" | ||
| 177 | PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm llvm-native elfutils" | ||
| 178 | PACKAGECONFIG[libclc] = "-Dmesa-clc=${MESA_CLC} -Dinstall-mesa-clc=${INSTALL_MESA_CLC} -Dmesa-clc-bundle-headers=enabled,,libclc spirv-tools spirv-llvm-translator ${MESA_NATIVE}" | 199 | PACKAGECONFIG[libclc] = "-Dmesa-clc=${MESA_CLC} -Dinstall-mesa-clc=${INSTALL_MESA_CLC} -Dmesa-clc-bundle-headers=enabled,,libclc spirv-tools spirv-llvm-translator ${MESA_NATIVE}" |
| 179 | PACKAGECONFIG[va] = "-Dgallium-va=enabled,-Dgallium-va=disabled,libva-initial" | 200 | PACKAGECONFIG[va] = "-Dgallium-va=enabled,-Dgallium-va=disabled,libva-initial" |
| 180 | PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=enabled,-Dgallium-vdpau=disabled,libvdpau" | 201 | PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=enabled,-Dgallium-vdpau=disabled,libvdpau" |
| 181 | 202 | ||
| 182 | PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false" | ||
| 183 | |||
| 184 | PACKAGECONFIG[asahi] = "" | ||
| 185 | |||
| 186 | PACKAGECONFIG[intel] = "" | ||
| 187 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'intel', ',i915,crocus', '', d)}" | ||
| 188 | |||
| 189 | PACKAGECONFIG[lima] = "" | ||
| 190 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | ||
| 191 | |||
| 192 | PACKAGECONFIG[panfrost] = "" | ||
| 193 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost libclc', ',panfrost', '', d)}" | ||
| 194 | |||
| 195 | PACKAGECONFIG[tegra] = "" | ||
| 196 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'tegra', ',tegra,nouveau', '', d)}" | ||
| 197 | |||
| 198 | PACKAGECONFIG[vulkan-beta] = "-Dvulkan-beta=true,-Dvulkan-beta=false" | ||
| 199 | |||
| 200 | PACKAGECONFIG[perfetto] = "-Dperfetto=true,-Dperfetto=false,libperfetto" | 203 | PACKAGECONFIG[perfetto] = "-Dperfetto=true,-Dperfetto=false,libperfetto" |
| 201 | 204 | ||
| 202 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" | 205 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" |
