drm/radeon: don't set hpd, afmt interrupts when interrupts are disabled
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Feb 2013 21:17:33 +0000 (16:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Mar 2013 17:58:57 +0000 (12:58 -0500)
commitcc9945bf9cac03860b2f7d59882263c965c6e3af
treef6f228e613a9818459dda8894337a1956815489e
parent2cc79544bd0aabb4b3cf467ead5df526d9134c64
drm/radeon: don't set hpd, afmt interrupts when interrupts are disabled

Avoids splatter if the interrupt handler is not registered due
to acceleration being disabled.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_irq_kms.c