Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 3 participants 4 messages Nov 13

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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)

---
 meta-ti-bsp/conf/machine/include/ti-bsp.inc                     | 2 ++
 .../recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb   | 2 +-
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb            | 2 +-
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb            | 2 +-
 .../powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb                | 2 +-
 5 files changed, 6 insertions(+), 4 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 +1 -1
index 2c20a538b2cf..f5dc5301e757 100644
@@ -29,7 +29,7 @@ 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)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',pvr', '', d)}"
 
 VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
 
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +1 -1
index 03b0b9bfc886..1b53ac39d55e 100644
@@ -20,7 +20,7 @@ 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)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',pvr', '', d)}"
 
 VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
 
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
Quoted 83 lines · On 11/12/26 4:37 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)

---
  meta-ti-bsp/conf/machine/include/ti-bsp.inc                     | 2 ++
  .../recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb   | 2 +-
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb            | 2 +-
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb            | 2 +-
  .../powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb                | 2 +-
  5 files changed, 6 insertions(+), 4 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 +1 -1
index 2c20a538b2cf..f5dc5301e757 100644
@@ -29,7 +29,7 @@ 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)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',pvr', '', d)}"
 
  VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
 
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +0 -0
index 03b0b9bfc886..1b53ac39d55e 100644

meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb PR = "r1" · line 23

Quoted 5 lines
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +1 -1
@@ -20,7 +20,7 @@ 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)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',pvr', '', d)}"

Could we just do:

GALLIUMDRIVERS:append = "pvr"

now that everyone who includes this will want the "pvr" driver?

Andrew

Quoted 16 lines
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +0 -0
  VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
 
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"
#2 lore raw
Quoted 92 lines · Andrew Davis
Quoted 83 lines · On 11/12/26 4:37 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)

---
  meta-ti-bsp/conf/machine/include/ti-bsp.inc                     | 2 ++
  .../recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb   | 2 +-
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb            | 2 +-
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb            | 2 +-
  .../powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb                | 2 +-
  5 files changed, 6 insertions(+), 4 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 +1 -1
index 2c20a538b2cf..f5dc5301e757 100644
@@ -29,7 +29,7 @@ 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)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',pvr', '', d)}"
 
  VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
 
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +0 -0
index 03b0b9bfc886..1b53ac39d55e 100644

meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb PR = "r1" · line 23

Quoted 5 lines
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +1 -1
@@ -20,7 +20,7 @@ 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)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',pvr', '', d)}"

Could we just do:

Quoted 6 lines

GALLIUMDRIVERS:append = "pvr"

now that everyone who includes this will want the "pvr" driver?

Andrew

Yeah, but I'm waiting for an additional build to finish to see if we could also get away with enabling the vulkan components even though those are actually unusable under SGX. Just want to make sure it doesn't advertise anything weird to other userspace tools.

People wanted some revision to test so this was safer / more obvious change for anyone following along at home.

Quoted 16 lines
Quoted 16 lines
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb +0 -0
  VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
 
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"
#3 lore raw
In reply to [email protected]

meta-ti / na / 20261112223746.1226911-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][PATCH] ti-sgx-ddk-*: version bump to support wrynose
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Thu, 12 Nov 2026 16:37:46 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 0eeb8dc55907312fe93da7b7505ac38c47ae41e5

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][PATCH] ti-sgx-ddk-*: version bump to support wrynose
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Thu, 12 Nov 2026 16:37:46 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 0eeb8dc55907312fe93da7b7505ac38c47ae41e5

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