]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify interrupt processing for IvyBridge
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 May 2012 20:45:44 +0000 (21:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 May 2012 09:55:23 +0000 (11:55 +0200)
commita9ca4e5632eb17c895d84cc777a7cb52c7d1e984
tree564d42d86ff0a86c1e01717975e1c58fc6c2df69
parente368c57bc7d8c71888d959d03a902b1027d0bf05
drm/i915: Simplify interrupt processing for IvyBridge

We can take advantage that the PCH_IIR is a subordinate register to
reduce one of the required IIR reads, and that we only need to clear
interrupts handled to reduce the writes. And by simply tidying the code
we can reduce the line count and hopefully make it more readable.

v2: Split out the bugfix from the refactoring.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c