]> Gentwo Git Trees - linux/.git/commit
drm/panthor: Serialize GPU cache flush operations
authorKarunika Choo <karunika.choo@arm.com>
Thu, 7 Aug 2025 16:26:31 +0000 (17:26 +0100)
committerSteven Price <steven.price@arm.com>
Fri, 15 Aug 2025 09:52:26 +0000 (10:52 +0100)
commite322a4844811b54477b7072eb40dc9e402a1725d
tree6c7b1a28fa6f065f9c11f45cda92f2ec32455d1e
parent3b1dc21d6d800cb86c1ef0c97968f5c783343f2b
drm/panthor: Serialize GPU cache flush operations

In certain scenarios, it is possible for multiple cache flushes to be
requested before the previous one completes. This patch introduces the
cache_flush_lock mutex to serialize these operations and ensure that
any requested cache flushes are completed instead of dropped.

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Co-developed-by: Dennis Tsiang <dennis.tsiang@arm.com>
Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com>
Signed-off-by: Karunika Choo <karunika.choo@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250807162633.3666310-6-karunika.choo@arm.com
drivers/gpu/drm/panthor/panthor_gpu.c