mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
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>
This commit is contained in:
parent
905b68223b
commit
a513c184d9
1 changed files with 3 additions and 0 deletions
|
@ -319,6 +319,9 @@ int r100_irq_process(struct radeon_device *rdev)
|
|||
if (!status) {
|
||||
return IRQ_NONE;
|
||||
}
|
||||
if (rdev->shutdown) {
|
||||
return IRQ_NONE;
|
||||
}
|
||||
while (status) {
|
||||
/* SW interrupt */
|
||||
if (status & RADEON_SW_INT_TEST) {
|
||||
|
|
Loading…
Reference in a new issue