diff options
author | 2025-03-07 15:55:20 -0600 | |
---|---|---|
committer | 2025-03-18 14:03:46 -0400 | |
commit | ed569e1279a3045d6b974226c814e071fa0193a6 (patch) | |
tree | 81d4dde65515d39e18f5312bcfdfc9bedd3104d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Revert "Support for reg inbox0 for host->DMUB CMDs" (diff) | |
download | wireguard-linux-ed569e1279a3045d6b974226c814e071fa0193a6.tar.xz wireguard-linux-ed569e1279a3045d6b974226c814e071fa0193a6.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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions