summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-03-07 15:55:20 -0600
committerAlex Deucher <alexander.deucher@amd.com>2025-03-18 16:33:11 -0400
commitacbf16a6ae775b4db86f537448cc466288aa307e (patch)
tree5c694eb74e76a487e10a10563c70332ee19742de /net/lapb/lapb_timer.c
parent35f0f9f421390f66cb062f4d79f4924af5f55b04 (diff)
downloadlinux-acbf16a6ae775b4db86f537448cc466288aa307e.tar.gz
linux-acbf16a6ae775b4db86f537448cc466288aa307e.tar.bz2
linux-acbf16a6ae775b4db86f537448cc466288aa307e.zip
drm/amd/display: Use HW lock mgr for PSR1 when only one eDP
[WHY] DMUB locking is important to make sure that registers aren't accessed while in PSR. Previously it was enabled but caused a deadlock in situations with multiple eDP panels. [HOW] Detect if multiple eDP panels are in use to decide whether to use lock. Refactor the function so that the first check is for PSR-SU and then replay is in use to prevent having to look up number of eDP panels for those configurations. Fixes: f245b400a223 ("Revert "drm/amd/display: Use HW lock mgr for PSR1"") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3965 Reviewed-by: ChiaHsuan Chung <chiahsuan.chung@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit ed569e1279a3045d6b974226c814e071fa0193a6) Cc: stable@vger.kernel.org
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions