aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-03-07 21:55:20 +0000
committerAlex Deucher <[email protected]>2025-03-18 20:33:11 +0000
commitacbf16a6ae775b4db86f537448cc466288aa307e (patch)
tree5c694eb74e76a487e10a10563c70332ee19742de /rust/helpers/helpers.c
parentdrm/amd/display: Fix message for support_edp0_on_dp1 (diff)
downloadkernel-acbf16a6ae775b4db86f537448cc466288aa307e.tar.gz
kernel-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 <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit ed569e1279a3045d6b974226c814e071fa0193a6) Cc: [email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions