This series adds initial support for the Mali GPU on CIX Sky1 and enables it on the Radxa Orion O6 board.
The GPU requires an external reset before the driver first accesses the hardware. Add SoC-specific data to Panthor to perform this reset during initialization. This initial version keeps the PM firmware default clock settings and skips devfreq. It does not read OPPs or request a performance level. The firmware sets the default GPU frequency to 1 GHz. No devfreq governor or GPU cooling device is registered. Configure the system-level cache before L2 power-on using the settings from the working CIX Sky1 driver. On Sky1, devices on the MMHUB bus cannot access the system-level cache, so buffers shared between the GPU and MMHUB devices require a specific system-level cache policy. Without this configuration, the GPU display output is corrupted. The series contains three patches: [1/3] dt-bindings: gpu: Add CIX Sky1 Mali support [2/3] drm/panthor: Add initial support for CIX Sky1 [3/3] arm64: dts: cix: Add GPU support for Sky1 Orion O6 Tested on Radxa Orion O6: - Offscreen rendering with pixel readback - kmscube - glmark2 at 1080p - Runtime suspend and resume with a retained EGL context - Reset-worker operations - Module unload and reload Best regards, Cunyuan Cunyuan Liu (3): dt-bindings: gpu: Add CIX Sky1 Mali support drm/panthor: Add initial support for CIX Sky1 arm64: dts: cix: Add GPU support for Sky1 Orion O6 .../bindings/gpu/arm,mali-valhall-csf.yaml | 51 +++++++++++++++++++ arch/arm64/boot/dts/cix/sky1-orion-o6.dts | 4 ++ arch/arm64/boot/dts/cix/sky1.dtsi | 16 ++++++ drivers/gpu/drm/panthor/panthor_devfreq.c | 11 +++- drivers/gpu/drm/panthor/panthor_device.c | 15 ++++++ drivers/gpu/drm/panthor/panthor_device.h | 25 +++++++++ drivers/gpu/drm/panthor/panthor_drv.c | 15 ++++++ drivers/gpu/drm/panthor/panthor_gpu.c | 14 +++++ drivers/gpu/drm/panthor/panthor_gpu_regs.h | 2 + 9 files changed, 152 insertions(+), 1 deletion(-) base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 -- 2.53.0
