]> 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:33:39 +0000 (13:33 +0100)
commit8b503e8464f7d8c1b20025d2c6c8a752ab89aa9c
tree5f2726cbee7bd2565161e50fad9f8f7447da2cb9
parent806624dd437984d6df41cdc83e2f7564ea56c568
drm/panfrost: Don't sync rpm suspension after mmu flushing

[ Upstream commit 77afffe67dbcd31b0ca420d666babefb4c887fde ]

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