commit | a83ccf7cad8d13d3667a4e2157114e8bd7170770 | [log] [tgz] |
---|---|---|
author | Mikita Lipski <mikita.lipski@amd.com> | Thu Jan 18 14:53:57 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Feb 19 14:19:28 2018 -0500 |
tree | 02d487f0b8b768e9917f0c043745e0209fdc3a21 | |
parent | f9549850a4cd3114fa1faeb97264cdad5c656edf [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>