diff mbox series

[meta-ti,master/wrynose,PATCHv2] ti-sgx-ddk-*: version bump to support wrynose

Message ID 20261113212342.1705645-1-rs@ti.com
State New
Headers show
Series [meta-ti,master/wrynose,PATCHv2] ti-sgx-ddk-*: version bump to support wrynose | expand

Commit Message

Randolph Sapp Nov. 13, 2026, 9:23 p.m. UTC
From: Randolph Sapp <rs@ti.com>

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)

Signed-off-by: Randolph Sapp <rs@ti.com>
---

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

Comments

PRC Automation Nov. 13, 2026, 9:37 p.m. UTC | #1
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: <rs@ti.com>
From: Randolph Sapp <rs@ti.com>
- 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) <denys@konsulko.com>
- 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: <rs@ti.com>
From: Randolph Sapp <rs@ti.com>
- 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 <lcpdbld@list.ti.com>
- 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
Andrew Davis Nov. 14, 2026, 2:34 a.m. UTC | #2
On 11/13/26 3:23 PM, rs@ti.com wrote:
> From: Randolph Sapp <rs@ti.com>
> 
> 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)
> 
> Signed-off-by: Randolph Sapp <rs@ti.com>
> ---
> 
> 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,

Reviewed-by: Andrew Davis <afd@ti.com>


>   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(-)
> 
> diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> index bf90d1da8a12..d9f59159037a 100644
> --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> @@ -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%"
> diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
> index 343f09de3d86..934e663849bd 100644
> --- a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
> +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
> @@ -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"
> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
> index 2c20a538b2cf..f671f162f39d 100644
> --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
> +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
> @@ -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
> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb
> index 03b0b9bfc886..6519708e17d6 100644
> --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb
> +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb
> @@ -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 \
> diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
> index c4cc5f10ef3b..bd0656a3cb7e 100644
> --- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
> +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
> @@ -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"
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
index bf90d1da8a12..d9f59159037a 100644
--- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
@@ -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%"
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
index 343f09de3d86..934e663849bd 100644
--- a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
+++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
@@ -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"
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
index 2c20a538b2cf..f671f162f39d 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb
@@ -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
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb
index 03b0b9bfc886..6519708e17d6 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb
@@ -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 \
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
index c4cc5f10ef3b..bd0656a3cb7e 100644
--- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
+++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
@@ -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"