i915: Add support for MSI and interrupt mitigation.
commited4cb4142b242d8090d3811d5eb4abf6aa985bc8
authorEric Anholt <eric@anholt.net>
Tue, 29 Jul 2008 19:10:39 +0000 (29 12:10 -0700)
committerDave Airlie <airlied@linux.ie>
Fri, 17 Oct 2008 21:10:10 +0000 (18 07:10 +1000)
tree5d19db6ffec95b18654bbde820ae8ff8995f856e
parent585fb111348f7cdc30c6a1b903987612ddeafb23
i915: Add support for MSI and interrupt mitigation.

Previous attempts at interrupt mitigation had been foiled by i915_wait_irq's
failure to update the sarea seqno value when the status page indicated that
the seqno had already been passed.  MSI support has been seen to cut CPU
costs by up to 40% in some workloads by avoiding other expensive interrupt
handlers for frequent graphics interrupts.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c