]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: add GEN5_IRQ_INIT macro
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 18:37:09 +0000 (15:37 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 21:05:57 +0000 (23:05 +0200)
commita9d356a6b8480950d3e4bf49c89c003d87692a18
treeb874b1e80979275f0dcb371d40fbafa8d0fa1de9
parent83a7280ebc359726d4b79b8772c9fddd7fd03f43
drm/i915: add GEN5_IRQ_INIT macro

The goal is to reuse the GEN8 macros, but a few changes are needed, so
let's make things easier to review.

I could also use these macros on older code, but since I plan to
change how the interrupts are initialized, we'll risk breaking the
older code in the next commits, so I'll leave this out for now.

v2: - Rebase.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c