Commit dede3f80 authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by sanglipeng
Browse files

drm/panfrost: Don't sync rpm suspension after mmu flushing

stable inclusion
from stable-v5.10.176
commit a3c502218cd34992dabbfe0b5385a2ece5864f82
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I87BGI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a3c502218cd34992dabbfe0b5385a2ece5864f82



--------------------------------

[ Upstream commit ba3be66f ]

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: default avatarSteven Price <steven.price@arm.com>
Fixes: ec7eba47 ("drm/panfrost: Rework page table flushing and runtime PM interaction")
Signed-off-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://lore.kernel.org/all/20230108210445.3948344-3-dmitry.osipenko@collabora.com/


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent c04ff9bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment