drm/amd/display: Do not program interrupt status on disabled crtc
authorMikita Lipski <mikita.lipski@amd.com>
Thu, 3 May 2018 21:08:51 +0000 (17:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 May 2018 18:30:38 +0000 (13:30 -0500)
commit4ea7fc09539bd2399c1fa7acea14529406120d9e
tree4b4b45b48d0417c0c702cb79860f13bb0a4bcbd9
parent0b19fdc45feffd7569c081fe32a258df3c8ebb9b
drm/amd/display: Do not program interrupt status on disabled crtc

Prevent interrupt programming of a crtc on which the stream is disabled and
it doesn't have an OTG to reference.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c