linux-xiaomi-chiron/drivers/gpu/drm/amd/display/amdgpu_dm
Nicholas Kazlauskas af6902ec41 drm/amd/display: Fix DPIA outbox timeout after S3/S4/reset
[Why]
The HW interrupt gets disabled after S3/S4/reset so we don't receive
notifications for HPD or AUX from DMUB - leading to timeout and
black screen with (or without) DPIA links connected.

[How]
Re-enable the interrupt after S3/S4/reset like we do for the other
DC interrupts.

Guard both instances of the outbox interrupt enable or we'll hang
during restore on ASIC that don't support it.

Fixes: 6eff272dbe ("drm/amd/display: Fix DPIA outbox timeout after GPU reset")

Reviewed-by: Jude Shih <Jude.Shih@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-08 23:23:46 -05:00
..
amdgpu_dm.c drm/amd/display: Fix DPIA outbox timeout after S3/S4/reset 2021-12-08 23:23:46 -05:00
amdgpu_dm.h
amdgpu_dm_color.c
amdgpu_dm_crc.c
amdgpu_dm_crc.h
amdgpu_dm_debugfs.c
amdgpu_dm_debugfs.h
amdgpu_dm_hdcp.c
amdgpu_dm_hdcp.h
amdgpu_dm_helpers.c
amdgpu_dm_irq.c
amdgpu_dm_irq.h
amdgpu_dm_irq_params.h
amdgpu_dm_mst_types.c
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c
amdgpu_dm_psr.c
amdgpu_dm_psr.h
amdgpu_dm_services.c
amdgpu_dm_trace.h
dc_fpu.c
dc_fpu.h
Makefile