mbox series

[kirkstone,0/3] Rogue graphics DDK 23.1 upgrade

Message ID 20230407005932.322037-1-rs@ti.com
Headers show
Series Rogue graphics DDK 23.1 upgrade | expand

Message

Randolph Sapp April 7, 2023, 12:59 a.m. UTC
Graphics DDK 23.1 upgrade! Rolling forward mesa and the um and km
components accordingly. Now we'll be using Mesa 22.3.5 so we'll have to
pull in those patches and rework a bit of the PACKAGECONFIG to get it to
work with the base Mesa recipe.

This adds support for kernel 6.1 (it is still fully compatible with
kernel 5.10.y though, please don't try to sort this out with some extra
logic).

Randolph Sapp (3):
  mesa: locally overlay 22.3.5-specific patches from oe-core/master
  mesa: update pvr-mesa for the 22.3.5 version of mesa
  graphics: upgrade rogue graphics to 23.1.6404501

 ...bb => ti-img-rogue-driver_23.1.6404501.bb} |   4 +-
 ...bb => ti-img-rogue-umlibs_23.1.6404501.bb} |   6 +-
 ...nd-deprecate-drm_handle_format-and-d.patch | 157 ------------------
 ...e-unsigned-instead-of-uint-to-fix-mu.patch |  44 +++++
 ...fine-__NR_futex-if-it-does-not-exist.patch |  34 ----
 ...-backend-fix-gbm-compile-without-dri.patch |  65 ++++++++
 ...sdetects-64bit-atomics-on-mips-clang.patch |   6 +-
 ...k-for-all-linux-host_os-combinations.patch |  24 +--
 ...ormat-Check-for-NEON-before-using-it.patch |  12 +-
 ...02-meson.build-make-TLS-ELF-optional.patch |  61 -------
 .../recipes-graphics/mesa/pvr-mesa.inc        |  15 +-
 11 files changed, 144 insertions(+), 284 deletions(-)
 rename meta-ti-bsp/recipes-bsp/powervr-drivers/{ti-img-rogue-driver_1.18.6276027.bb => ti-img-rogue-driver_23.1.6404501.bb} (92%)
 rename meta-ti-bsp/recipes-graphics/libgles/{ti-img-rogue-umlibs_1.18.6276027.bb => ti-img-rogue-umlibs_23.1.6404501.bb} (86%)
 delete mode 100644 meta-ti-bsp/recipes-graphics/mesa/files/0001-Revert-egl-wayland-deprecate-drm_handle_format-and-d.patch
 create mode 100644 meta-ti-bsp/recipes-graphics/mesa/files/0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch
 delete mode 100644 meta-ti-bsp/recipes-graphics/mesa/files/0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch
 create mode 100644 meta-ti-bsp/recipes-graphics/mesa/files/0001-gbm-backend-fix-gbm-compile-without-dri.patch
 delete mode 100644 meta-ti-bsp/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch

Comments

Randolph Sapp April 14, 2023, 4:13 p.m. UTC | #1
On 4/6/23 19:59, Randolph Sapp via lists.yoctoproject.org wrote:
> diff --git a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
> similarity index 86%
> rename from meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb
> rename to meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
> index 94d14ded..38d0556b 100644
> --- a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb
> +++ b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
> @@ -10,9 +10,9 @@ COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx"
>   
>   PR = "r2"
>   
> -BRANCH = "linuxws/kirkstone/k5.10/${PV}"
> -SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
> -SRCREV = "51e598919641d51156a631efa5447124a3c0f543"
> +BRANCH = "linuxws/kirkstone/k6.1/${PV}"
> +SRC_URI ="git://git@bitbucket.itg.ti.com/graphics/8xe-ddk-rogue_umlibs.git;protocol=ssh;branch=${BRANCH}"
> +SRCREV = "49958a8e820a321d22ac3c635bd21d4a3118c006"
>   S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
>   
>   TARGET_PRODUCT:j721e = "j721e_linux"

Rats, accidentally committed the SRC_URI of the test repo. Fixed in v2.
Andrew Davis April 14, 2023, 5 p.m. UTC | #2
On 4/14/23 11:13 AM, Randolph Sapp via lists.yoctoproject.org wrote:
> On 4/6/23 19:59, Randolph Sapp via lists.yoctoproject.org wrote:
>> diff --git a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
>> similarity index 86%
>> rename from meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb
>> rename to meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
>> index 94d14ded..38d0556b 100644
>> --- a/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_1.18.6276027.bb
>> +++ b/meta-ti-bsp/recipes-graphics/libgles/ti-img-rogue-umlibs_23.1.6404501.bb
>> @@ -10,9 +10,9 @@ COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx"
>>   PR = "r2"
>> -BRANCH = "linuxws/kirkstone/k5.10/${PV}"
>> -SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
>> -SRCREV = "51e598919641d51156a631efa5447124a3c0f543"
>> +BRANCH = "linuxws/kirkstone/k6.1/${PV}"
>> +SRC_URI ="git://git@bitbucket.itg.ti.com/graphics/8xe-ddk-rogue_umlibs.git;protocol=ssh;branch=${BRANCH}"
>> +SRCREV = "49958a8e820a321d22ac3c635bd21d4a3118c006"
>>   S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
>>   TARGET_PRODUCT:j721e = "j721e_linux"
> 
> Rats, accidentally committed the SRC_URI of the test repo. Fixed in v2.
> 

An easy way to prevent this in the future, and make your life easier, is to just
make an .bbappend with changes for local testing. Or even better, have devtool
do that for you. It can even have the append file point to a local checked
out repo, so you don't need to have a remote test repo at all.

Andrew