summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-graphics
diff options
context:
space:
mode:
authorRandolph Sapp <rs@ti.com>2023-05-06 02:37:41 +0000
committerRyan Eatmon <reatmon@ti.com>2023-05-08 11:11:09 -0500
commit6225d78b65e2a634d5f6aac356329f3cec0992c8 (patch)
tree756eb35f1d42b45fa967403271cbf396c9f0f448 /meta-ti-bsp/recipes-graphics
parent50f5e36332548092e417d6f6402cb279f255eb60 (diff)
downloadmeta-ti-6225d78b65e2a634d5f6aac356329f3cec0992c8.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> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-graphics')
-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')}"