Skip to contentSkip to conversation

sgx: bump version for kernel 6.6 / mesa 23.2.1

PATCH Superseded [email protected] 2 participants 2 messages Oct 31, 2024 – Nov 1, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sgx: bump version for kernel 6.6 / mesa 23.2.1

From: Randolph Sapp <[email protected]>

Bump versions of mesa-pvr and ti-sgx-ddk-km to support SGX with kernel 6.6 and the same version of mesa rogue is using right now (23.2.1). These commits are currently compatible with both kernel 6.1 and 6.6.

Enable SGX by default in the 6.6 BSP provider section logic.

---
 meta-ti-bsp/conf/machine/include/ti-bsp.inc                   | 4 +++-
 .../recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | 2 +-
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb          | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
meta-ti-bsp/conf/machine/include/ti-bsp.inc +3 -1
index 0c8f657d..d06fed1e 100644
@@ -57,7 +57,9 @@ BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%"
 BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging"
 BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
 
-# Only Rogue is enabled so far, SGX falls back to SW rendering
+BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km"
+BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%"
+BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%"
 BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
 BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%"
 BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%"
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1 -1
index 100c10c1..31cffaf1 100644
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;
 
 S = "${WORKDIR}/git"
 
-SRCREV = "652ae16657cc4acda664e669d0c9b4891252f37f"
+SRCREV = "97c49d302efd50d1e52bf55a25fe8ecf3e5476c3"
 
 TARGET_PRODUCT:omap-a15 = "ti572x_linux"
 TARGET_PRODUCT:ti33x = "ti335x_linux"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb +1 -1
index 21134bc7..fa765a64 100644
@@ -25,7 +25,7 @@ PACKAGECONFIG:append = " \
     ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
 "
 
-SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427"
+SRCREV = "0e75e7ded360ea6aee4140393b30960e152f3994"
 PV = "23.2.1"
 
 PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
Signature · 1 line
2.47.0
#1 lore raw
Quoted 7 lines · On Thu, Oct 31, 2024 at 06:47:43PM -0500, [email protected] wrote:

From: Randolph Sapp <[email protected]>

Bump versions of mesa-pvr and ti-sgx-ddk-km to support SGX with kernel 6.6 and the same version of mesa rogue is using right now (23.2.1). These commits are currently compatible with both kernel 6.1 and 6.6.

Enable SGX by default in the 6.6 BSP provider section logic.

Great to finally get "legacy" SGX working on 6.6! Thanks for doing it.

Quoted 51 lines
---
 meta-ti-bsp/conf/machine/include/ti-bsp.inc                   | 4 +++-
 .../recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | 2 +-
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb          | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
meta-ti-bsp/conf/machine/include/ti-bsp.inc +3 -1
index 0c8f657d..d06fed1e 100644
@@ -57,7 +57,9 @@ BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%"
 BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging"
 BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
 
-# Only Rogue is enabled so far, SGX falls back to SW rendering
+BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km"
+BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%"
+BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%"
 BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
 BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%"
 BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%"
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1 -1
index 100c10c1..31cffaf1 100644
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;
 
 S = "${WORKDIR}/git"
 
-SRCREV = "652ae16657cc4acda664e669d0c9b4891252f37f"
+SRCREV = "97c49d302efd50d1e52bf55a25fe8ecf3e5476c3"
 
 TARGET_PRODUCT:omap-a15 = "ti572x_linux"
 TARGET_PRODUCT:ti33x = "ti335x_linux"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb +1 -1
index 21134bc7..fa765a64 100644
@@ -25,7 +25,7 @@ PACKAGECONFIG:append = " \
     ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
 "
 
-SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427"
+SRCREV = "0e75e7ded360ea6aee4140393b30960e152f3994"
 PV = "23.2.1"
 
 PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
Signature · 1 line
2.47.0