This series extracts the initial hardware support from the previously posted Mali v15 virtualization series. The remaining virtualization support will follow separately.
v4: - Collect R-bs from Liviu and Boris - Squashed 64-bit GPU_ID decoding [PATCH v3 05/10] into v15 enablement [PATCH v3 09/10]. - Defined devfreq_disabled flag panthor_soc_data to disable devfreq if it is set. - Link to v3: https://lore.kernel.org/all/[email protected]/ v3: - Split out the initial Mali v15 support into a standalone series, leaving virtualization and arbitration support for a follow-up. - Rebased on drm-misc-next (fb191ef626555) - Drop the $nodename constraint from the AM GPU binding. - Require the arm,zena-css-mali integration compatible followed by the arm,mali-gen5-am fallback. - Update the binding example to use the new compatible, three-cell interrupt specifiers, and a single GPU clock. - Omit drm-maxfreq-panthor from fdinfo when the maximum frequency is unknown, as on AM systems without an OPP table. - Fix the missing blank line after declarations in GPU_ID decoding. - Link to v2: https://lore.kernel.org/all/[email protected]/ Kind regards, Karunika Karunika Choo (9): drm/panthor: Ignore -EOPNOTSUPP for shader-present nvmem lookup drm/panthor: Rename neural accelerator feature macro to NX drm/panthor: Move register access helpers out of panthor_device.h drm/panthor: Parse and store GPU_ID fields drm/panthor: Move register base offsets to the HW description drm/panthor: Derive MMU AS register addresses from base and stride drm/panthor: Skip devfreq when explicitly disabled dt-bindings: gpu: mali-gen5-am: Add Mali 5th-Gen AM schema drm/panthor: Add Mali v15 hardware support .../bindings/gpu/arm,mali-gen5-am.yaml | 89 ++++++++ MAINTAINERS | 1 + drivers/gpu/drm/panthor/panthor_devfreq.c | 9 +- drivers/gpu/drm/panthor/panthor_device.h | 105 +++------ drivers/gpu/drm/panthor/panthor_device_io.h | 84 ++++++++ drivers/gpu/drm/panthor/panthor_drv.c | 14 +- drivers/gpu/drm/panthor/panthor_fw.c | 7 +- drivers/gpu/drm/panthor/panthor_fw_regs.h | 2 - drivers/gpu/drm/panthor/panthor_gpu.c | 9 +- .../drm/panthor/panthor_gpu_discover_regs.h | 42 ++++ drivers/gpu/drm/panthor/panthor_gpu_regs.h | 4 +- drivers/gpu/drm/panthor/panthor_heap.c | 3 +- drivers/gpu/drm/panthor/panthor_hw.c | 202 ++++++++++++++++-- drivers/gpu/drm/panthor/panthor_hw.h | 61 +++++- drivers/gpu/drm/panthor/panthor_mmu.c | 47 ++-- drivers/gpu/drm/panthor/panthor_mmu_regs.h | 23 +- drivers/gpu/drm/panthor/panthor_pwr.c | 2 +- drivers/gpu/drm/panthor/panthor_pwr_regs.h | 2 - include/uapi/drm/panthor_drm.h | 23 +- 19 files changed, 580 insertions(+), 149 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpu/arm,mali-gen5-am.yaml create mode 100644 drivers/gpu/drm/panthor/panthor_device_io.h create mode 100644 drivers/gpu/drm/panthor/panthor_gpu_discover_regs.h -- 2.43.0
