diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2018-09-12 22:38:57 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-13 22:14:11 +0200 |
commit | c37e2d29f0fbc933508637d7129a8f079b06ab40 (patch) | |
tree | a57dea0f6f39b09d760f8e1d96b565f74eec1b5e /drivers/gpu/drm/ttm | |
parent | drm/amdgpu: allow fragment processing for invalid PTEs (diff) | |
download | linux-c37e2d29f0fbc933508637d7129a8f079b06ab40.tar.xz linux-c37e2d29f0fbc933508637d7129a8f079b06ab40.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/ttm')
0 files changed, 0 insertions, 0 deletions