]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/radeon/r100.c
drm/radeon/kms: Don't try to process irq when we are unloading
authorJerome Glisse <jglisse@redhat.com>
Wed, 9 Sep 2009 20:23:07 +0000 (22:23 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Sep 2009 08:41:01 +0000 (18:41 +1000)
commita513c184d99fe10e7b20771ef86f5f807769318f
tree140e14b22cbae3e09d6ec3644fbf48b68a83229d
parent905b68223be18937159a29b354e6a332952ff952
drm/radeon/kms: Don't try to process irq when we are unloading

If module is being unloaded we should not try to handle irq especialy
we should not call into drm helper or we could hard hang the computer
free_irq will call the irq handler to make sure we behave properly.

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