]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/panthor: Support GLB_REQ.STATE field for Mali-G1 GPUs
authorKarunika Choo <karunika.choo@arm.com>
Tue, 25 Nov 2025 12:55:46 +0000 (12:55 +0000)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 26 Nov 2025 09:56:19 +0000 (10:56 +0100)
commit51407254986501b19681d55531963f1ea58e89cd
tree48d023d3ca12db023b145da241d6a7f61d3c0ee3
parent9ee52f5cdc45e397fddad2a9ed879c72a8fcfa65
drm/panthor: Support GLB_REQ.STATE field for Mali-G1 GPUs

Add support for the GLB_REQ.STATE field introduced in CSF v4.1+, which
replaces the HALT bit to provide finer control over the MCU state. This
change implements basic handling for transitioning the MCU between
ACTIVE and HALT states on Mali-G1 GPUs.

The update introduces new helpers to issue the state change requests,
poll for MCU halt completion, and restore the MCU to an active state
after halting.

Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Karunika Choo <karunika.choo@arm.com>
Link: https://patch.msgid.link/20251125125548.3282320-7-karunika.choo@arm.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/gpu/drm/panthor/panthor_fw.c
drivers/gpu/drm/panthor/panthor_fw.h