summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2025-09-17 17:09:26 -0500
committerRyan Eatmon <reatmon@ti.com>2025-09-17 17:42:13 -0500
commitd89a382c3abce5f84d0a2b5edb0f7534b5b50171 (patch)
tree5ce363c5d899019803746079cd86c6f78d96d319
parentf7230c48688cfaf554aa38062f1ddda9fb29020b (diff)
downloadmeta-ti-d89a382c3abce5f84d0a2b5edb0f7534b5b50171.tar.gz
mesa-pvr: Use PREFERRED_PROVIDER directly for GPU selection
Now that display controller aliases are not set using PACKAGECONFIG, instead of using PREFERRED_PROVIDER to add either "sgx" or "pvr" to PACKAGECONFIG, followed by reading it back out, simply use PREFERRED_PROVIDER directly. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
index 6a4b296f..40226f65 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
@@ -23,20 +23,15 @@ SRC_URI = " \
23 23
24S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
25 25
26PACKAGECONFIG:append = " \
27 ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
28 ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
29"
30
31SRCREV = "68af6a102c2298569e77d1aa8bccc1ff61438b3e" 26SRCREV = "68af6a102c2298569e77d1aa8bccc1ff61438b3e"
32PV = "24.0.1" 27PV = "24.0.1"
33 28
34PACKAGE_ARCH = "${MACHINE_ARCH}" 29PACKAGE_ARCH = "${MACHINE_ARCH}"
35 30
36GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" 31GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
37GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}" 32GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}"
38 33
39VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" 34VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
40 35
41do_install:append () { 36do_install:append () {
42 # remove pvr custom pkgconfig 37 # remove pvr custom pkgconfig