linux/drivers/gpu/drm/amd/display/amdgpu_dm
Andrey Grodzovsky c37e2d29f0 drm/amd/display: Fix pflip IRQ status after gpu reset.
Problem:
After GPU reset pflip completion IRQ is disabled and hence
any subsequent mode set or plane update leads to hang.

Fix:
Unless acrtc->otg_inst is initialized to -1 during display
block initializtion then durng resume from GPU reset
amdgpu_irq_gpu_reset_resume_helper will override CRTC 0 pflip
IRQ value with whatever value was on every other unused CRTC because
dm_irq_state will do irq_source = dal_irq_type + acrtc->otg_inst
where acrtc->otg_inst will be 0 for every unused CRTC.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-09-13 15:14:11 -05:00
..
amdgpu_dm_color.c drm/amd/display: Use DGAM ROM or RAM 2018-08-27 11:09:58 -05:00
amdgpu_dm_crc.c drm/amd/display: Guard against null crtc in CRC IRQ 2018-08-13 17:29:44 -05:00
amdgpu_dm_debugfs.c drm/amd/display: fix ptr_ret.cocci warnings 2018-09-12 16:29:57 -05:00
amdgpu_dm_debugfs.h drm/amd/display: Add support for hw_state logging via debugfs 2018-08-27 15:20:17 -05:00
amdgpu_dm_helpers.c drm/amd/display: Support reading hw state from debugfs file 2018-08-27 15:20:49 -05:00
amdgpu_dm_irq.c drm/amd/display: Do not program interrupt status on disabled crtc 2018-05-29 13:30:38 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Refactor FreeSync module 2018-08-27 11:10:51 -05:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_pp_smu.c drm/amd/display: Remove call to amdgpu_pm_compute_clocks 2018-09-10 22:44:08 -05:00
amdgpu_dm_services.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
amdgpu_dm.c drm/amd/display: Fix pflip IRQ status after gpu reset. 2018-09-13 15:14:11 -05:00
amdgpu_dm.h drm/amd: Add DM DMCU support 2018-09-12 16:29:42 -05:00
Makefile drm/amd/display: Moving powerplay functions to a separate class 2018-07-05 16:38:41 -05:00