drm/radeon/kms: add irq mitigation code for sw interrupt.
authorDave Airlie <airlied@redhat.com>
Tue, 1 Dec 2009 06:04:56 +0000 (16:04 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 04:00:13 +0000 (14:00 +1000)
commit1614f8b17b8cc3ad143541d41569623d30dbc9ec
tree7b0284e942cb68ea47cdc832bbd43864b23dcd2d
parentd8f60cfc93452d0554f6a701aa8e3236cbee4636
drm/radeon/kms: add irq mitigation code for sw interrupt.

We really don't need to process every irq that comes in, we only
really want to do SW irq processing when we are actually waiting for
a fence to pass. I'm not 100% sure this is race free esp on non-MSI systems
so it needs some testing.

Signed-off-by: Dave Airlie <airlied@redhat.com>
13 files changed:
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r420.c
drivers/gpu/drm/radeon/r520.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/radeon/rs400.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rs690.c
drivers/gpu/drm/radeon/rv515.c
drivers/gpu/drm/radeon/rv770.c