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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Mar 2013 18:26:23 +0000 (11:26 -0700)
commitdad07bf9c8ffd5327399737a9da5d8780a0e57a6
tree17ed425d5736a525dd5e06e098eaea58fd503ced
parent1dde5a361f21ed7d606593c3b8814c6f2232fedc
drm/radeon: don't set hpd, afmt interrupts when interrupts are disabled

commit cc9945bf9cac03860b2f7d59882263c965c6e3af upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_irq_kms.c