Skip to contentSkip to conversation

AM62P and other assorted Graphics version bumps

PATCH New [email protected] 1 participant 5 messages Oct 27, 2023

lore
Share & tools
lore
#0 lore raw

cover AM62P and other assorted Graphics version bumps

From: Randolph Sapp <[email protected]>

Another graphics series to pull things forwards and enable AM62P support. This addresses a potential regression with rogue post SGX integration and tests out some new dt configuration options for AM62P.

Give it a spin.

Randolph Sapp (4):
mesa-pvr: isolate sgx and rogue components ti-img-rogue-*: move to 23.2 release ti-img-rogue-*: add am62p support
am62pxx: set default gpudriver to ti-img-rogue-driver

 meta-ti-bsp/conf/machine/include/am62pxx.inc                 | 2 +-
 ...r_23.1.6404501.bb => ti-img-rogue-driver_23.2.6460340.bb} | 5 +++--
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb         | 2 +-
 ...s_23.1.6404501.bb => ti-img-rogue-umlibs_23.2.6460340.bb} | 5 +++--
 4 files changed, 8 insertions(+), 6 deletions(-)
 rename meta-ti-bsp/recipes-bsp/powervr-drivers/{ti-img-rogue-driver_23.1.6404501.bb => ti-img-rogue-driver_23.2.6460340.bb} (88%)
 rename meta-ti-bsp/recipes-graphics/powervr-umlibs/{ti-img-rogue-umlibs_23.1.6404501.bb => ti-img-rogue-umlibs_23.2.6460340.bb} (97%)
Signature · 1 line
2.42.0
#1 lore raw

PATCH 1/4 mesa-pvr: isolate sgx and rogue components

From: Randolph Sapp <[email protected]>

Bump SRCREV to include some patches to better isolate SGX and PVR components.

---
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb +1 -1
index 857bbdf3..98d30c5b 100644
@@ -23,7 +23,7 @@ SRC_URI = " \
 
 S = "${WORKDIR}/git"
 
-SRCREV = "13829fd7ffa8e9e961cc8702869da55d72f99a84"
+SRCREV = "7c9522a4147836064f582278e4f7115735c16868"
 
 PACKAGECONFIG:append = " \
     ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
Signature · 1 line
2.42.0
#2 lore raw

PATCH 2/4 ti-img-rogue-*: move to 23.2 release

In reply to [email protected]

From: Randolph Sapp <[email protected]>

Move to the 23.2 release branch and bump SRCREV accordingly. This branch has the proper implementation of the cache coherency fix along with some other checks that address some system stability issues on Jacinto devices.

---
 ...iver_23.1.6404501.bb => ti-img-rogue-driver_23.2.6460340.bb} | 2 +-
 ...libs_23.1.6404501.bb => ti-img-rogue-umlibs_23.2.6460340.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-ti-bsp/recipes-bsp/powervr-drivers/{ti-img-rogue-driver_23.1.6404501.bb => ti-img-rogue-driver_23.2.6460340.bb} (95%)
 rename meta-ti-bsp/recipes-graphics/powervr-umlibs/{ti-img-rogue-umlibs_23.1.6404501.bb => ti-img-rogue-umlibs_23.2.6460340.bb} (98%)
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb renamed from meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.1.6404501.bb +1 -1
similarity index 95%
rename from meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.1.6404501.bb
rename to meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb
index 10f3b727..d46699ca 100644
@@ -22,7 +22,7 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
 
 S = "${WORKDIR}/git"
 
-SRCREV = "c0adc3c36f4a0b2f590abfe0609b03096d58c648"
+SRCREV = "778aa5d1e104f36c7f7c1f50e99f8499cbbdadbb"
 
 TARGET_PRODUCT:j721e = "j721e_linux"
 TARGET_PRODUCT:j721s2 = "j721s2_linux"
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.2.6460340.bb renamed from meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb +1 -1
similarity index 98%
rename from meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
rename to meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.2.6460340.bb
index 0d02f12a..121c4cc5 100644
@@ -12,7 +12,7 @@ PR = "r2"
 
 BRANCH = "linuxws/kirkstone/k6.1/${PV}"
 SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
-SRCREV = "6e460fee82d07513bb329b3022e5430c5ba73809"
+SRCREV = "d0543929cc6fe53959a64c60285896e2c14ed314"
 S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
 
 TARGET_PRODUCT:j721e = "j721e_linux"
Signature · 1 line
2.42.0
#3 lore raw

PATCH 3/4 ti-img-rogue-*: add am62p support

In reply to [email protected]

From: Randolph Sapp <[email protected]>

Add the configuration options for am62pxx-evm.

This also adds support for new devicetree properties to override the clock value of the device. See the kernel module modifications [1] and dt bindings for more information.

[1] https://git.ti.com/cgit/graphics/ti-img-rogue-driver/log/?h=linuxws/kirkstone/k6.1/23.2.6460340

---
 .../powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb        | 3 ++-
 .../powervr-umlibs/ti-img-rogue-umlibs_23.2.6460340.bb         | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb +2 -1
index d46699ca..a74cc7b8 100644
@@ -12,7 +12,7 @@ PR = "${MACHINE_KERNEL_PR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx"
+COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx"
 
 DEPENDS = "virtual/kernel"
 
@@ -28,6 +28,7 @@ TARGET_PRODUCT:j721e = "j721e_linux"
 TARGET_PRODUCT:j721s2 = "j721s2_linux"
 TARGET_PRODUCT:j784s4 = "j784s4_linux"
 TARGET_PRODUCT:am62xx = "am62_linux"
+TARGET_PRODUCT:am62pxx = "am62p_linux"
 PVR_BUILD = "release"
 PVR_WS = "lws-generic"
 
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.2.6460340.bb +2 -1
index 121c4cc5..447812d3 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de52
 inherit bin_package
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx"
+COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx"
 
 PR = "r2"
 
@@ -19,6 +19,7 @@ TARGET_PRODUCT:j721e = "j721e_linux"
 TARGET_PRODUCT:j721s2 = "j721s2_linux"
 TARGET_PRODUCT:j784s4 = "j784s4_linux"
 TARGET_PRODUCT:am62xx = "am62_linux"
+TARGET_PRODUCT:am62pxx = "am62p_linux"
 PVR_BUILD = "release"
 PVR_WS = "lws-generic"
 
Signature · 1 line
2.42.0
#4 lore raw

PATCH 4/4 am62pxx: set default gpudriver to ti-img-rogue-driver

In reply to [email protected]

From: Randolph Sapp <[email protected]>

Enable the GPU on the am62pxx-evm machine target.

---
 meta-ti-bsp/conf/machine/include/am62pxx.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/am62pxx.inc +1 -1
index d61ad62b..694a192c 100644
@@ -4,7 +4,7 @@ SOC_FAMILY:append = ":am62pxx"
 MACHINE_FEATURES += "screen gpu"
 
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= ""
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
 
 # Default tiboot3.bin on AM62Px is for HS-FS
 IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin"
Signature · 1 line
2.42.0