summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2025-04-15 16:15:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-20 10:11:16 +0100
commitfcaecb85698281f5018fe8c18ec7f1b20339bd3c (patch)
tree11376c1fe8f88011ff1c1f3f301f849cde863ca4 /meta
parent2b945afae2c838204832b15ebc71569d6698394d (diff)
downloadpoky-fcaecb85698281f5018fe8c18ec7f1b20339bd3c.tar.gz
mesa: Enable PanVK for panfrost PACKAGECONFIG
If panfrost is enabled, we currently build panfrost tools and the gallium driver. There's also a vulkan driver available for panfrost, so let's enable it as well whenever panfrost PACKAGECONFIG is enabled, similarly to how it's done for the gallium driver. PanVK is the "commercial" name for the vulkan driver for panfrost but it's enabled under the panfrost name in meson. This was "tested" with `vkgears -info` with mesa-demos from commit 11939e1697b894be3c68a89e3ea86fc51a320836 on an RK3588-based system. (From OE-Core rev: a04b7772d65e0b92330b1d35e578b5d8ae01dcef) Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index fb76b5b1cc..c30253695f 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -114,6 +114,7 @@ VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',fr
114VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" 114VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}"
115VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${VULKAN_DRIVERS_LLVM}', '', d)}" 115VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${VULKAN_DRIVERS_LLVM}', '', d)}"
116VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination-experimental', '', d)}" 116VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination-experimental', '', d)}"
117VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}"
117PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" 118PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers"
118 119
119# mesa development and testing tools support, per driver 120# mesa development and testing tools support, per driver