commit | 43b9d27360cbf51ec4fced5bf00c40cf37bba10d | [log] [tgz] |
---|---|---|
author | Mikita Lipski <mikita.lipski@amd.com> | Thu Jan 18 14:53:57 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 07 16:27:43 2018 -0500 |
tree | b9424347a4cf00561eb55ffd4cc46892a5853732 | |
parent | 4a2df0d1f28eba7bd49ad1a1527af996f54df137 [diff] |
drm/amd/display: Set irq state only on existing crtcs Because AMDGPU_CRTC_IRQ_VLINE1 = 6, it expected 6 more crtcs to be programed with disabled irq state in amdgpu_irq_disable_all. That caused errors and accessed the wrong memory location. Signed-off-by: Mikita Lipski <mikita.lipski@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>