1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Bhawanpreet Lakha 98ab5f3513 drm/amd/display: Fix deadlock during gpu reset v3
[Why]
during idle optimizations we acquire the dc_lock, this lock is also
acquired during gpu_reset so we end up hanging the system due to a
deadlock

[How]
If we are in gpu reset:
 - disable idle optimizations and skip calls to the dc function

v2: skip idle optimizations calls
v3: add guard for DCN

Fixes: 71338cb4a7 ("drm/amd/display: enable idle optimizations for linux (MALL stutter)")
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-01-13 23:48:47 -05:00
..
amdgpu_dm drm/amd/display: Fix deadlock during gpu reset v3 2021-01-13 23:48:47 -05:00
dc Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel" 2021-01-13 23:45:24 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.47 2020-12-23 15:02:37 -05:00
include drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
modules drm/amd/display: gradually ramp ABM intensity 2020-12-23 15:01:47 -05:00
Kconfig drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00