]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd80ba5f51834b1d50221379a1ac8cac6ba89cb09
tree7b0284e942cb68ea47cdc832bbd43864b23dcd2d
parent822d7a552516d08a18a08659dc8d4ab7adae8321
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