diff options
author | Randolph Sapp <rs@ti.com> | 2024-11-07 13:33:32 -0600 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-11-07 13:46:03 -0600 |
commit | 3ad46d39b26606a46f2f06145de4269af63ae5ce (patch) | |
tree | 1695feb2e9f20b00d2c401d2b38ae6468c284f58 | |
parent | 5b0d947ab0df1961aa9096c817551d7e5430fc63 (diff) | |
download | meta-ti-3ad46d39b26606a46f2f06145de4269af63ae5ce.tar.gz |
sgx: bump version for kernel 6.6 / mesa 23.2.1
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.
Enable SGX by default in the 6.6 BSP provider section logic.
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
3 files changed, 13 insertions, 3 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc index d27bbe3c..814c6ca8 100644 --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc | |||
@@ -57,7 +57,9 @@ BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6.%" | |||
57 | BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging" | 57 | BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging" |
58 | BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%" | 58 | BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%" |
59 | 59 | ||
60 | # Only Rogue is enabled so far, SGX falls back to SW rendering | 60 | BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km" |
61 | BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%" | ||
62 | BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%" | ||
61 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver" | 63 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver" |
62 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%" | 64 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%" |
63 | BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%" | 65 | BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%" |
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 100c10c1..5e9c6e6e 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 | |||
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https; | |||
19 | 19 | ||
20 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
21 | 21 | ||
22 | SRCREV = "652ae16657cc4acda664e669d0c9b4891252f37f" | 22 | SRCREV = "3005cf8145a6720daa47e4e273f9e421ff77cb58" |
23 | 23 | ||
24 | TARGET_PRODUCT:omap-a15 = "ti572x_linux" | 24 | TARGET_PRODUCT:omap-a15 = "ti572x_linux" |
25 | TARGET_PRODUCT:ti33x = "ti335x_linux" | 25 | TARGET_PRODUCT:ti33x = "ti335x_linux" |
@@ -31,6 +31,14 @@ PVR_WS = "lws-generic" | |||
31 | EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} \ | 31 | EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} \ |
32 | WINDOW_SYSTEM=${PVR_WS} PVR_BUILD_DIR=${TARGET_PRODUCT}' | 32 | WINDOW_SYSTEM=${PVR_WS} PVR_BUILD_DIR=${TARGET_PRODUCT}' |
33 | 33 | ||
34 | # There are useful flags here that are interpreted by the final kbuild pass | ||
35 | # These variables are not necessary when compiling outside of Yocto | ||
36 | export KERNEL_CC | ||
37 | export KERNEL_LD | ||
38 | export KERNEL_AR | ||
39 | export KERNEL_OBJCOPY | ||
40 | export KERNEL_STRIP | ||
41 | |||
34 | do_install() { | 42 | do_install() { |
35 | make -C ${STAGING_KERNEL_DIR} M=${B}/eurasiacon/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_armhf/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install | 43 | make -C ${STAGING_KERNEL_DIR} M=${B}/eurasiacon/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_armhf/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install |
36 | } | 44 | } |
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb index 33af456d..cdff372a 100644 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb | |||
@@ -26,7 +26,7 @@ PACKAGECONFIG:append = " \ | |||
26 | ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \ | 26 | ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \ |
27 | " | 27 | " |
28 | 28 | ||
29 | SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427" | 29 | SRCREV = "0e75e7ded360ea6aee4140393b30960e152f3994" |
30 | PV = "23.2.1" | 30 | PV = "23.2.1" |
31 | 31 | ||
32 | PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss" | 32 | PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss" |