diff options
| author | Andrew Davis <afd@ti.com> | 2025-09-17 17:09:26 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-09-17 17:42:13 -0500 |
| commit | d89a382c3abce5f84d0a2b5edb0f7534b5b50171 (patch) | |
| tree | 5ce363c5d899019803746079cd86c6f78d96d319 | |
| parent | f7230c48688cfaf554aa38062f1ddda9fb29020b (diff) | |
| download | meta-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.bb | 11 |
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 | ||
| 24 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG: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 | |||
| 31 | SRCREV = "68af6a102c2298569e77d1aa8bccc1ff61438b3e" | 26 | SRCREV = "68af6a102c2298569e77d1aa8bccc1ff61438b3e" |
| 32 | PV = "24.0.1" | 27 | PV = "24.0.1" |
| 33 | 28 | ||
| 34 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 29 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 35 | 30 | ||
| 36 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" | 31 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}" |
| 37 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}" | 32 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}" |
| 38 | 33 | ||
| 39 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" | 34 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}" |
| 40 | 35 | ||
| 41 | do_install:append () { | 36 | do_install:append () { |
| 42 | # remove pvr custom pkgconfig | 37 | # remove pvr custom pkgconfig |
