[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251014094337.1009601-1-karunika.choo@arm.com>
Date: Tue, 14 Oct 2025 10:43:27 +0100
From: Karunika Choo <karunika.choo@....com>
To: dri-devel@...ts.freedesktop.org
Cc: nd@....com,
Boris Brezillon <boris.brezillon@...labora.com>,
Steven Price <steven.price@....com>,
Liviu Dudau <liviu.dudau@....com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 00/10] drm/panthor: Add support for Mali-G1 GPUs
This patch series extends the Panthor driver with basic support for
Mali-G1 GPUs.
The v14 architecture introduces several hardware and register-level
changes compared to prior GPUs. This series adds the necessary
architecture-specific support infrastructure, power control and reset
handling for Mali-G1 GPUs.
Patch Breakdown:
[Patch 1-4]: Refactor panthor_hw to introduce architecture-specific
hooks and abstractions to support the v14 architecture.
These patches introduces architecture-specific HW binding
for feature bits and function pointers.
[Patch 5-7]: Adds basic L2 power on/off and soft reset support for the
PWR_CONTROL block introduced in v14.
[Patch 8]: Update MCU halt and warm boot operations to reflect the
GLB_REQ.STATE changes in v14. This ensures that the MCU is
properly halted and the correct operations are performed
on warm boot depending on the FW version.
[Patch 9]: Align endpoint_req with changes introduced in v14, where
the register is widened to 64-bit and shifed down by
4-bytes. This patch adds the necessary infrastructure to
discern the correct endpoint_req register to use.
[Patch 10]: Enables Mali-G1 support on Panthor by adding HW bindings
for v14 architecture.
Kind regards,
Karunika Choo
Karunika Choo (10):
drm/panthor: Factor out GPU_ID register read into separate function
drm/panthor: Add arch-specific panthor_hw binding
drm/panthor: Introduce framework for architecture-specific features
drm/panthor: Add architecture-specific function operations
drm/panthor: Introduce panthor_pwr API and power control framework
drm/panthor: Implement L2 power on/off via PWR_CONTROL
drm/panthor: Implement soft and fast reset via PWR_CONTROL
drm/panthor: Support GLB_REQ.STATE field for Mali-G1 GPUs
drm/panthor: Support 64-bit endpoint_req register for Mali-G1
drm/panthor: Add support for Mali-G1 GPUs
drivers/gpu/drm/panthor/Makefile | 1 +
drivers/gpu/drm/panthor/panthor_device.c | 18 +-
drivers/gpu/drm/panthor/panthor_device.h | 8 +
drivers/gpu/drm/panthor/panthor_fw.c | 123 ++++-
drivers/gpu/drm/panthor/panthor_fw.h | 27 +-
drivers/gpu/drm/panthor/panthor_gpu.c | 13 +-
drivers/gpu/drm/panthor/panthor_gpu.h | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 107 ++++-
drivers/gpu/drm/panthor/panthor_hw.h | 50 ++
drivers/gpu/drm/panthor/panthor_pwr.c | 581 +++++++++++++++++++++++
drivers/gpu/drm/panthor/panthor_pwr.h | 25 +
drivers/gpu/drm/panthor/panthor_regs.h | 79 +++
drivers/gpu/drm/panthor/panthor_sched.c | 22 +-
13 files changed, 1019 insertions(+), 36 deletions(-)
create mode 100644 drivers/gpu/drm/panthor/panthor_pwr.c
create mode 100644 drivers/gpu/drm/panthor/panthor_pwr.h
--
2.49.0
Powered by blists - more mailing lists