Skip to contentSkip to conversation

ti-img-rouge-umlibs: housekeeping and version bump

PATCH New [email protected] 1 participant 3 messages Jun 2, 2023

lore
Share & tools
lore
#0 lore raw

v3 cover ti-img-rouge-umlibs: housekeeping and version bump

From: Randolph Sapp <[email protected]>

Well, I'm trying to be nice for those few that want a truly minimal yocto environment. Let's see how long it takes before I regret it.

Split all Khronos API libs into their own packages and adjust dependencies as necessary. Use mesa's fancy function to set some variables. We won't set the provides or conflicts args just yet. Software rendering is still nice to have as a fallback, but I'll drop it if anyone in the community wants it gone for minimal image reasons.

Also bump the umlib and km versions. Add some rough gem support for now. Should get some userspace applications like Chromium to start behaving a little better. This is still experimental, but I don't think it'll break anything that's already been working.

This version changes the libgles subdir to powervr-umlibs, keeping in line with the naming convention used by the kernel modules.

---

Ugh, apparently something from testing slipped into a commit again. If the ${PN}-dev package is present in the packages string yocto will automatically sort out all the dev links, and with this driver there one dev link that's always required for mesa interactions:

libpvr_dri_support.so

Drop the dev package from the packages string. Most of the links aren't needed but since we've got to ignore the sanity check anyway (and the link names are currently unique). We'll just go ahead and ship all the core driver devlinks in case something weird changes in the future.

Randolph Sapp (2):
libgles: rename subdir to powervr-umlibs
ti-img-rogue-umlibs: bump version and explicitly package

 .../ti-img-rogue-driver_23.1.6404501.bb       |   2 +-
 .../ti-img-rogue-umlibs_23.1.6404501.bb       |  73 ------------
 .../ti-img-rogue-umlibs_23.1.6404501.bb       | 111 ++++++++++++++++++
 .../ti-sgx-ddk-um/pvrsrvkm.rules              |   0
 .../ti-sgx-ddk-um_1.17.4948957.bb             |   0
 5 files changed, 112 insertions(+), 74 deletions(-)
 delete mode 100644 meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
 create mode 100644 meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
 rename meta-ti-bsp/recipes-graphics/{libgles => powervr-umlibs}/ti-sgx-ddk-um/pvrsrvkm.rules (100%)
 rename meta-ti-bsp/recipes-graphics/{libgles => powervr-umlibs}/ti-sgx-ddk-um_1.17.4948957.bb (100%)
Signature · 1 line
2.40.1
#1 lore raw

PATCH v3 1/2 libgles: rename subdir to powervr-umlibs

From: Randolph Sapp <[email protected]>

Move recipes to new subdir since we offer more than just libgles now. Reusing the naming convention of the subdirectory used for the km components for now.

---
 .../ti-img-rogue-umlibs_23.1.6404501.bb                           | 0
 .../{libgles => powervr-umlibs}/ti-sgx-ddk-um/pvrsrvkm.rules      | 0
 .../{libgles => powervr-umlibs}/ti-sgx-ddk-um_1.17.4948957.bb     | 0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-ti-bsp/recipes-graphics/{libgles => powervr-umlibs}/ti-img-rogue-umlibs_23.1.6404501.bb (100%)
 rename meta-ti-bsp/recipes-graphics/{libgles => powervr-umlibs}/ti-sgx-ddk-um/pvrsrvkm.rules (100%)
 rename meta-ti-bsp/recipes-graphics/{libgles => powervr-umlibs}/ti-sgx-ddk-um_1.17.4948957.bb (100%)
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb renamed from meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
rename to meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um/pvrsrvkm.rules renamed from meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um/pvrsrvkm.rules +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um/pvrsrvkm.rules
rename to meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um/pvrsrvkm.rules
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb renamed from meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
rename to meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
Signature · 1 line
2.40.1
#2 lore raw

PATCH v3 2/2 ti-img-rogue-umlibs: bump version and explicitly package

In reply to [email protected]

From: Randolph Sapp <[email protected]>

Bump the version and explicitly package all Khronos APIs separately. This should be nice for those folks that want a headless opencl system for tinkering and such.

This version includes experimental GEM support (for applications like Chromium that like to poke at the render node) and a new Vulkan ICD loader interface for better support with the Vulkan ICD loaders present in Yocto.

This lifts a method from mesa used to force a common naming convention for Vulkan, OpenCL, and OpenGLES libs to make things a little easier to follow. Without it the target package names get scrambled based on the shared object name.

---
 .../ti-img-rogue-driver_23.1.6404501.bb       |  2 +-
 .../ti-img-rogue-umlibs_23.1.6404501.bb       | 88 +++++++++++++------
 2 files changed, 64 insertions(+), 26 deletions(-)
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.1.6404501.bb +1 -1
index 76e3d801..1a08a441 100644
@@ -22,7 +22,7 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
 
 S = "${WORKDIR}/git"
 
-SRCREV = "93c66ec66136654849809132b86d3b880ee96ed6"
+SRCREV = "ebddb087ef140ca83e4c30d66580b0bb33b003fd"
 
 TARGET_PRODUCT:j721e = "j721e_linux"
 TARGET_PRODUCT:j721s2 = "j721s2_linux"
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb +63 -25

122 lines not on this page · raw message

Signature · 1 line
2.40.1