summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandolph Sapp <rs@ti.com>2023-04-27 16:07:44 -0500
committerRyan Eatmon <reatmon@ti.com>2023-05-02 17:33:49 -0500
commit050ac64a1e83da0c7eafff6a30002ce92900ffaf (patch)
treeb40c96ada5e98986b1ec04d88833d217a30afbc3
parentf027b5399cace365e5d63d9b98331ce5404e02f3 (diff)
downloadmeta-ti-050ac64a1e83da0c7eafff6a30002ce92900ffaf.tar.gz
pvr-mesa: add new vulkan configuration options and wsi
Add the required vulkan configuration options and the new PVR WSI file to the corresponding package. Also bump the PV to match the version of Mesa actually being shipped. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc b/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc
index d938f41c..caf94156 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc
+++ b/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc
@@ -38,14 +38,18 @@ PACKAGECONFIG:remove = "xvmc"
38PACKAGECONFIG[xvmc] = "" 38PACKAGECONFIG[xvmc] = ""
39 39
40PACKAGE_ARCH = "${MACHINE_ARCH}" 40PACKAGE_ARCH = "${MACHINE_ARCH}"
41PV = "22.0.3+pvr" 41PV = "22.3.5+pvr"
42 42
43GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" 43GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
44GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}" 44GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}"
45 45
46VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
47
46do_install:append () { 48do_install:append () {
47 # remove pvr custom pkgconfig 49 # remove pvr custom pkgconfig
48 rm -rf ${D}${datadir}/pkgconfig 50 rm -rf ${D}${datadir}/pkgconfig
49} 51}
50 52
53FILES:mesa-vulkan-drivers += " ${libdir}/libpvr_mesa_wsi.so"
54
51RRECOMMENDS:mesa-megadriver:append:class-target = " ${@d.getVar('PREFERRED_PROVIDER_virtual/gpudriver')}" 55RRECOMMENDS:mesa-megadriver:append:class-target = " ${@d.getVar('PREFERRED_PROVIDER_virtual/gpudriver')}"