]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08d3ee7fbeb0d268822cce51773beec3eb1c6174
treeec4055630625a71272d46b5cc51192417a6d3249
parent539703597ae511251dee15145ff5d872a8954bdf
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