Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: update to 6.11 #9140

Merged
merged 14 commits into from
Sep 29, 2024
Merged

linux: update to 6.11 #9140

merged 14 commits into from
Sep 29, 2024

Conversation

heitbaum
Copy link
Contributor

@heitbaum heitbaum commented Jul 31, 2024

packages updated

  • linux: update to 6.11.x
  • strace: update to 6.11

6.11.x mainline kernel update

errors / fixes / issues / regressions / todo

log

6.11 Build tested on all of:

PROJECT=Allwinner ARCH=aarch64 DEVICE=A64 s/build linux
PROJECT=Allwinner ARCH=arm DEVICE=H3 s/build linux
PROJECT=Allwinner ARCH=aarch64 DEVICE=H5 s/build linux
PROJECT=Allwinner ARCH=aarch64 DEVICE=H6 s/build linux
PROJECT=Allwinner ARCH=aarch64 DEVICE=R40 s/build linux
PROJECT=Rockchip ARCH=arm DEVICE=RK3288 s/build linux
PROJECT=Rockchip ARCH=aarch64 DEVICE=RK3328 s/build linux
PROJECT=Rockchip ARCH=aarch64 DEVICE=RK3399 s/build linux
PROJECT=NXP ARCH=arm DEVICE=iMX6 s/build linux
PROJECT=NXP ARCH=aarch64 DEVICE=iMX8 s/build linux - does not build
PROJECT=Qualcomm ARCH=aarch64 DEVICE=Dragonboard s/build linux
PROJECT=Generic ARCH=x86_64 DEVICE=Generic s/build linux
PROJECT=Generic ARCH=x86_64 DEVICE=Generic-legacy s/build linux
PROJECT=Samsung ARCH=arm DEVICE=Exynos s/build linux

6.11.y Run tested on all of:

  • Allwinner all - tested - TBA - jernejsk
  • Allwinner H6 (Tanix TX6) - TBA - heitbaum
  • Generic Generic (Intel ADL - NUC12) - 6.11 - heitbaum
  • Generic Generic (AMD 7840HS - SER7) - 6.11 - heitbaum
  • NXP iMX6 (Cubox-i4Pro) - TBA - heitbaum
  • Rockchip RK3399pro (Rock Pi N10) - TBA - heitbaum
  • RK all - tested - TBA - knaerzche
  • Samsung Exynos (Hardkernel ODROID XU4) - TBA - heitbaum

@heitbaum
Copy link
Contributor Author

heitbaum commented Sep 9, 2024

@jernejsk 6.11-rc7 has refactored drm torvalds/linux@9da7ec9 and we were having the compile errors. Should I add this Kconfig change to the projects/Allwinner/patches/linux/0049-drm-sun4i-dw-hdmi-Switch-to-bridge-functions.patch? Also could you check that I haven’t made any mistakes on the “2 x to review” Allwinner patches?

@jernejsk
Copy link
Member

I'll test this and review probably next week once I get new PC.

@heitbaum heitbaum changed the title DRAFT: linux: update to 6.11 linux: update to 6.11 Sep 15, 2024
@heitbaum heitbaum marked this pull request as ready for review September 16, 2024 11:28
@jernejsk
Copy link
Member

Maybe you can try to use https://patchwork.freedesktop.org/series/120825/ for iMX8? It's the latest iteration, but then again, it would be great to test it.

I'm looking into AW code too. I'll provide updated patches once ready.

@jernejsk
Copy link
Member

@heitbaum Please integrate changes from: jernejsk@4c28621

There are 2 caviats:

  • I merged your patch from "linux (Allwinner): new patch required for 6.11-rc7" to 0049-drm-sun4i-dw-hdmi-Switch-to-bridge-functions.patch, since changes most logically belongs there and I don't want to have patches that can't be applied with "git am" (no headers)
  • VP9 HW decoding mostly don't work on H6 (some videos work, though). This is not blocker for this PR, but it certainly needs to be solved before any release

@jernejsk
Copy link
Member

Please include following patch for Allwinner: jernejsk/linux-1@4a6926e It's needed for v6.8+ kernels.

The following changes were introduced in 6.11-rc1 and 6.11-rc7

only pass 3 variables to
- of: remove internal arguments from of_property_for_each_u32()
- torvalds/linux@9722c3b

6.11-rc7 has refactored drm torvalds/linux@9da7ec9
resulting in the following compile error.

build.LibreELEC-H6.aarch64-13.0-devel/toolchain/bin/aarch64-libreelec-linux-gnu-ld: drivers/gpu/drm/sun4i/sun8i_dw_hdmi.o: in function `sun8i_dw_hdmi_bind':
build.LibreELEC-H6.aarch64-13.0-devel/build/linux-6.11-rc7/drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c:394:(.text+0x73c): undefined reference to `drm_bridge_connector_init'

Co-authored-by: Jernej Skrabec <[email protected]>
@heitbaum
Copy link
Contributor Author

Please include following patch for Allwinner: jernejsk/linux-1@4a6926e It's needed for v6.8+ kernels.

Added and the Allwinner commits all merged.

@jernejsk
Copy link
Member

You can remove VP9 HW for H6 from todo :)

@heitbaum
Copy link
Contributor Author

You can remove VP9 HW for H6 from todo :)

👍

@jernejsk jernejsk merged commit 8602b53 into LibreELEC:master Sep 29, 2024
@heitbaum heitbaum deleted the 6110 branch September 29, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants