Skip to contentSkip to conversation

ti-sgx-ddk-*: version bump to support wrynose

PATCH In review [email protected] 3 participants 3 messages Nov 13 – Nov 14

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-sgx-ddk-*: version bump to support wrynose

From: Randolph Sapp <[email protected]>

Bump the SGX graphics packages to include support for kernel 6.18 and mesa 25.2.8.

This include initial experimental support for a unified dri interface. This deprecates the old mesa interface added for the "sgx" gallium shim.

This allows SGX devices to use the "pvr" gallium shim currently being used by the rogue proprietary driver. It also adds some experimental EGL features to accommodate the increased requirements for that interface.

EGL blit operations are present, but testing is currently limited.

Prime buffer import and export functionality is partially advertised, as required for the mesa pipe loader interface and EGL wayland. The functionality provided for these features is currently the bare minimum for context initialization. Expect some incompatibility.

This is the initial version, so you may see some issues depending on the application. Please report those issues if they are not covered below.

Known issues:
- Multisampling support is currently disabled as it does not currently work (debug in progress)
- A hardware recovery may be seen when initially interacting with the device (debug pending)
- DRM EGL format negotiations may fail in some applications with tilcdc (low priority / technical limitation)

---

v2:
- Unconditionally enable pvr gallium and vulkan components. Though SGX doesn't support vulkan it also doesn't break anything on these platforms.

 meta-ti-bsp/conf/machine/include/ti-bsp.inc                 | 2 ++
 .../powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb           | 2 +-
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb        | 6 ++----
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb        | 6 ++----
 .../powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb            | 2 +-
 5 files changed, 8 insertions(+), 10 deletions(-)
meta-ti-bsp/conf/machine/include/ti-bsp.inc +2 -0
index bf90d1da8a12..d9f59159037a 100644
@@ -42,6 +42,8 @@ BSP_KERNEL_VERSION:bsp-ti-6_18 = "6.18%"
 BSP_BOOTLOADER_PROVIDER:bsp-ti-6_18 = "u-boot-ti-staging"
 BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%"
 
+BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-sgx-ddk-km"
+BSP_SGX_DRIVER_VERSION:bsp-ti-6_18 = "1.17%"
 BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver"
 BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "26%"
 BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "25%"
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1 -1
index 343f09de3d86..934e663849bd 100644
@@ -17,7 +17,7 @@ BRANCH = "${PV}/mesa/k6.1"
 
 SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;branch=${BRANCH}"
 
-SRCREV = "9ae0fa4998b1c624408945e062bf8fb0ea7efb9d"
+SRCREV = "cfcc733d3d59f3287574fd4909e2cd4cd9346f3f"
 
 TARGET_PRODUCT:ti33x = "ti335x_linux"
 TARGET_PRODUCT:ti43x = "ti437x_linux"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb +2 -4
index 2c20a538b2cf..f671f162f39d 100644
@@ -28,10 +28,8 @@ PR = "r1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}"
-
-VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
+GALLIUMDRIVERS:append = ",pvr"
+VULKAN_DRIVERS:append = ",pvr"
 
 do_install:append () {
     # remove pvr custom pkgconfig
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +2 -4
index 03b0b9bfc886..6519708e17d6 100644
@@ -19,10 +19,8 @@ PR = "r1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}"
-
-VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
+GALLIUMDRIVERS:append = ",pvr"
+VULKAN_DRIVERS:append = ",pvr"
 
 PACKAGECONFIG = " \
         gallium \
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb +1 -1
index c4cc5f10ef3b..bd0656a3cb7e 100644
@@ -13,7 +13,7 @@ BRANCH = "${PV}/mesa/glibc-2.35"
 SRC_URI = " \
     git://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git;protocol=https;branch=${BRANCH} \
 "
-SRCREV = "84a396a4fb379f10931421e489ac8a199d6a9f2c"
+SRCREV = "f52f27edce0e961be46eb4426dd030a6ab17ad16"
 
 INITSCRIPT_NAME = "rc.pvr"
 INITSCRIPT_PARAMS = "defaults 8"
Signature · 1 line
2.56.0
#1 lore raw

meta-ti / na / 20261113212342.1705645-1-rs

PRC Results: PASS

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

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master/wrynose][PATCHv2] ti-sgx-ddk-*: version bump to support wrynose
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Fri, 13 Nov 2026 15:23:42 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 6ad2d84a0e1afda33cf73b726592663ce517f71c

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Denys Dmytriyenko (TI) <[email protected]>
- Commit Subject: ti-sci-fw: Allow empty SPDX deploy artifacts
- Commit SHA: b3e4f2c6efcc4cca09550f4dfa8d4b87ef5f98f8

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

wrynose
=====================
Summary:
- Patch Series: [meta-ti][master/wrynose][PATCHv2] ti-sgx-ddk-*: version bump to support wrynose
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Fri, 13 Nov 2026 15:23:42 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 6ad2d84a0e1afda33cf73b726592663ce517f71c

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: wrynose-wip
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.wrynose.202611051452
- Commit SHA: 1e80335cb1f082e67f11f342e7dd8de5b4b84d98

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

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

wrynose
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed

wrynose - PASS
=====================
All checks passed

Reviewed-by on v2 1/1
#2 lore raw
In reply to [email protected]
Quoted 30 lines · On 11/13/26 3:23 PM, [email protected] wrote:

From: Randolph Sapp <[email protected]>

Bump the SGX graphics packages to include support for kernel 6.18 and mesa 25.2.8.

This include initial experimental support for a unified dri interface. This deprecates the old mesa interface added for the "sgx" gallium shim.

This allows SGX devices to use the "pvr" gallium shim currently being used by the rogue proprietary driver. It also adds some experimental EGL features to accommodate the increased requirements for that interface.

EGL blit operations are present, but testing is currently limited.

Prime buffer import and export functionality is partially advertised, as required for the mesa pipe loader interface and EGL wayland. The functionality provided for these features is currently the bare minimum for context initialization. Expect some incompatibility.

This is the initial version, so you may see some issues depending on the application. Please report those issues if they are not covered below.

Known issues:
- Multisampling support is currently disabled as it does not currently work (debug in progress)
- A hardware recovery may be seen when initially interacting with the device (debug pending)
- DRM EGL format negotiations may fail in some applications with tilcdc (low priority / technical limitation)

Quoted 8 lines

---

v2:
- Unconditionally enable pvr gallium and vulkan components. Though SGX doesn't support vulkan it also doesn't break anything on these platforms.

Oh nice, glad that worked,

Quoted 80 lines
  meta-ti-bsp/conf/machine/include/ti-bsp.inc                 | 2 ++
  .../powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb           | 2 +-
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb        | 6 ++----
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb        | 6 ++----
  .../powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb            | 2 +-
  5 files changed, 8 insertions(+), 10 deletions(-)
meta-ti-bsp/conf/machine/include/ti-bsp.inc +2 -0
index bf90d1da8a12..d9f59159037a 100644
@@ -42,6 +42,8 @@ BSP_KERNEL_VERSION:bsp-ti-6_18 = "6.18%"
  BSP_BOOTLOADER_PROVIDER:bsp-ti-6_18 = "u-boot-ti-staging"
  BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%"
 
+BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-sgx-ddk-km"
+BSP_SGX_DRIVER_VERSION:bsp-ti-6_18 = "1.17%"
  BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver"
  BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "26%"
  BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "25%"
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1 -1
index 343f09de3d86..934e663849bd 100644
@@ -17,7 +17,7 @@ BRANCH = "${PV}/mesa/k6.1"
 
  SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;branch=${BRANCH}"
 
-SRCREV = "9ae0fa4998b1c624408945e062bf8fb0ea7efb9d"
+SRCREV = "cfcc733d3d59f3287574fd4909e2cd4cd9346f3f"
 
  TARGET_PRODUCT:ti33x = "ti335x_linux"
  TARGET_PRODUCT:ti43x = "ti437x_linux"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb +2 -4
index 2c20a538b2cf..f671f162f39d 100644
@@ -28,10 +28,8 @@ PR = "r1"
 
  PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}"
-
-VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
+GALLIUMDRIVERS:append = ",pvr"
+VULKAN_DRIVERS:append = ",pvr"
 
  do_install:append () {
      # remove pvr custom pkgconfig
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +2 -4
index 03b0b9bfc886..6519708e17d6 100644
@@ -19,10 +19,8 @@ PR = "r1"
 
  PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
-GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}"
-
-VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
+GALLIUMDRIVERS:append = ",pvr"
+VULKAN_DRIVERS:append = ",pvr"
 
  PACKAGECONFIG = " \
          gallium \
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb +1 -1
index c4cc5f10ef3b..bd0656a3cb7e 100644
@@ -13,7 +13,7 @@ BRANCH = "${PV}/mesa/glibc-2.35"
  SRC_URI = " \
      git://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git;protocol=https;branch=${BRANCH} \
  "
-SRCREV = "84a396a4fb379f10931421e489ac8a199d6a9f2c"
+SRCREV = "f52f27edce0e961be46eb4426dd030a6ab17ad16"
 
  INITSCRIPT_NAME = "rc.pvr"
  INITSCRIPT_PARAMS = "defaults 8"