diff mbox series

[meta-ti,master] mesa-pvr: add PROVIDES for Vulkan and OpenCL ICDs

Message ID 20250918185221.5553-1-reatmon@ti.com
State New
Headers show
Series [meta-ti,master] mesa-pvr: add PROVIDES for Vulkan and OpenCL ICDs | expand

Commit Message

Ryan Eatmon Sept. 18, 2025, 6:52 p.m. UTC
A recent change in oe-core [1] has created new virtual packages to pick
the driver packages for OpenCL and Vulkan Installable Client Drivers.
This patch just copies the same changes from oe-core into our copy of the
mesa package.

[1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/mesa/mesa.inc?id=6f01f029ef6fed96e257d6a88de42edaa437de3e

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
---
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc | 4 ++++
 1 file changed, 4 insertions(+)

Comments

PRC Automation Sept. 18, 2025, 6:55 p.m. UTC | #1
meta-ti / na / 20250918185221.5553-1-reatmon

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] mesa-pvr: add PROVIDES for Vulkan and OpenCL ICDs
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Thu, 18 Sep 2025 13:52:21 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 6b0b002727979fab7cb4dc5663a7196a5e8c3ea1

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-next
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202509180100
- Commit SHA: 8996d2354e57ef2b7a6bedb126e8f25d1d6a6dde

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc
index 45d5ada3..5ce93d27 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc
@@ -228,6 +228,10 @@  CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS"
 # Remove the mesa dependency on mesa-dev, as mesa is empty
 DEV_PKG_DEPENDENCY = ""
 
+# Provide virtual names to allow selecting preferred rproviders
+RPROVIDES:mesa-vulkan-drivers += "virtual-vulkan-icd"
+RPROVIDES:libopencl-mesa += "virtual-opencl-icd"
+
 # GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa.
 # Add a dependency so the GLES3 dev package is associated with its implementation.
 RPROVIDES:libgles2-mesa += "libgles3-mesa"