drm/i915: Inline I915_INTERRUPT_ENABLE_FIX
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 21:59:51 +0000 (22:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:19 +0000 (11:18 +0200)
commitbbba0a9712be1c8e970fc66fc3becad0ce809e4f
tree19f1056d1a915f9632ca27d8121a8512ce6fabba
parent38bde18045afe854f389961846d64c4b3f86105f
drm/i915: Inline I915_INTERRUPT_ENABLE_FIX

Since there is only one remaining user of I915_INTERRUPT_ENABLE_FIX,
expand it at the callsite. Quoting Jesse Barnes:

"I'd really like to get rid of these defines at the top of i915_irq.c.
Some are unused and the others just make you check for the right bits
everytime your read the code."

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Add bikeshed suggested by Jesse.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c