mali-bifrost: unify to r54p2-01eac0, add MGLRU and PM clock fix#2409
mali-bifrost: unify to r54p2-01eac0, add MGLRU and PM clock fix#2409aenertia wants to merge 1 commit intoROCKNIX:nextfrom
Conversation
c0ac4ff to
c62989d
Compare
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
I'm a little confused. What 10 targets? Isn't it only RK3326, RK3566 and S922X that use the |
Bad LLM, it's counting all the permutations of the test target builds and kernel versions I ran the build and integration tests over. |
Unify RK3326, RK3566, and S922X to the rocknix/mali_kbase r54p2-01eac0 source (b1405e8). RK3326 previously used r52p0 with device-specific patches for single-regulator and power-init -- r54p2 handles both natively via dynamic regulator/clock discovery. Changes: - Remove RK3326 r52p0 case and 6.12-LTS build patch (superseded) - Remove RK3326 001-single-regulator and 003-power-init patches - Add 001-fix-runtime-pm-clock-refcount.patch: fix race between genpd pm_clk framework and mali_kbase clock management. The original code used __clk_is_enabled() guards that race with pm_clk, corrupting ref-counts. Use ref-counted calls instead. - Add 002-mglru-madvise-native-gpu-buffers.patch: strip VM_IO and VM_PFNMAP from native GPU buffer CPU mappings so madvise and MGLRU page reclaim work correctly on memory-constrained devices. - Add 003-fix-mm_get_unmapped_area.patch: forward compat for mm_get_unmapped_area() signature change where mm_struct parameter was removed. r54p2 compat header only handles up to 6.10. Build verified: RK3566 (6.18.13), S922X (6.18.13), RK3326 (6.12.61).
c62989d to
5557e33
Compare
|
Cleaned up the commit message : "all 10 device targets" was wrong, mali-bifrost only applies to RK3326, RK3566, and S922X. Build verified on all three (6.12.61, 6.18.13, 6.18.13 respectively). |
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
Move RK3566 from kernel 6.18.13 to 6.19.5. Depends on: ROCKNIX#2409 (mali-bifrost unified + compat patches) The mm_get_unmapped_area() signature changed in 6.19 — mali_kbase will not compile without the compat patch from PR ROCKNIX#2409.
|
Thanks, I put these patches into the mali_kbase repo. Closing. |
Unify all 10 device targets to the rocknix/mali_kbase r54p2-01eac0 source (b1405e8). RK3326 previously used r52p0 with device-specific patches for single-regulator and power-init — r54p2 handles both natively via dynamic regulator/clock discovery.
Changes:
Needs testing on more RK3326 and S992X to ensure it works 100% - clean on 6.18.13 and 6.12.61 LTS - RK3566 was primary target for testing.