]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/panthor: Make MMU cache maintenance use FLUSH_CACHES command
authorKarunika Choo <karunika.choo@arm.com>
Thu, 7 Aug 2025 16:26:32 +0000 (17:26 +0100)
committerSteven Price <steven.price@arm.com>
Fri, 15 Aug 2025 09:52:55 +0000 (10:52 +0100)
commitdd11c7dec74b0e125b75def169a53f3c86f35d6d
tree4f39fa6daae428b8b6f51de55dd8569c43a40b7c
parente322a4844811b54477b7072eb40dc9e402a1725d
drm/panthor: Make MMU cache maintenance use FLUSH_CACHES command

As the FLUSH_MEM and FLUSH_PT MMU_AS commands are deprecated in GPUs
from Mali-Gx20 onwards, this patch adds support for performing cache
maintenance via the FLUSH_CACHES command in GPU_COMMAND in place of
FLUSH_MEM and FLUSH_PT commands.

Mali-Gx10 and Mali-Gx15 GPUs also has support for the FLUSH_CACHES
command and will also use this by default going forward.

Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Karunika Choo <karunika.choo@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250807162633.3666310-7-karunika.choo@arm.com
drivers/gpu/drm/panthor/panthor_mmu.c