drm/i915: open code gen6+ ring irqs
authorBen Widawsky <ben@bwidawsk.net>
Fri, 30 Mar 2012 02:11:27 +0000 (19:11 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 9 Apr 2012 16:04:06 +0000 (18:04 +0200)
commit25c063004a6d0048c4dece74db4da117b9ae623e
treeec4055630625a71272d46b5cc51192417a6d3249
parente2a1e2f0242c363ed80458282d67039c373fbb1f
drm/i915: open code gen6+ ring irqs

We can now open-code the get/put irq functions as they were just
abstracting single register definitions.

It would be nice to merge this in with the IRQ handling code... but that
is too much work for me at present. In addition I could probably
collapse this in to a lot of the Ironlake stuff, but I don't think it's
worth the potential regressions.

This patch itself should not effect functionality.

CC: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h