]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Don't sync rpm suspension after mmu flushing
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Thu, 17 Nov 2022 01:40:38 +0000 (04:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:28:03 +0000 (13:28 +0100)
commit77e109e14f9284a112ed7e3cf8d84c76aa891476
tree70f87d9f868f164e7de2bf514d8d42b1c074328b
parent6be14218652867c07601f9f110a82718b5c6242d
drm/panfrost: Don't sync rpm suspension after mmu flushing

[ Upstream commit ba3be66f11c3c49afaa9f49b99e21d88756229ef ]

Lockdep warns about potential circular locking dependency of devfreq
with the fs_reclaim caused by immediate device suspension when mapping is
released by shrinker. Fix it by doing the suspension asynchronously.

Reviewed-by: Steven Price <steven.price@arm.com>
Fixes: 22458244e31c ("drm/panfrost: Rework page table flushing and runtime PM interaction")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://lore.kernel.org/all/20230108210445.3948344-3-dmitry.osipenko@collabora.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panfrost/panfrost_mmu.c