drm/radeon/kms: Don't try to enable IRQ if we have no handler installed
authorJerome Glisse <jglisse@redhat.com>
Thu, 7 Jan 2010 14:39:14 +0000 (15:39 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Jan 2010 03:12:20 +0000 (13:12 +1000)
commit003e69f9862bcda89a75c27750efdbc17ac02945
tree6a172f0fae732500196f7a5103bdf94044573856
parente77cef9c2d87db835ad9d70cde4a9b00b0ca2262
drm/radeon/kms: Don't try to enable IRQ if we have no handler installed

If for any reason we haven't installed handler we shouldn't try to
enable IRQ/MSI on the hw so we don't get unhandled IRQ/MSI which
makes the kernel sad.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/radeon/rs600.c