]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: i8xx interrupt handler
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Apr 2012 20:13:57 +0000 (21:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:07 +0000 (11:18 +0200)
commitc2798b19bac2538393fc932bfbe59807a4734b3e
treeee0754e4e3b8135bde45060c6df0a33dec93eab2
parent1869b620d27a0e353bd6558015713fad2d0cc09b
drm/i915: i8xx interrupt handler

gen2 hardware has some significant differences from the other interrupt
routines that were glossed over and then forgotten about in the
transition to KMS. Such as

- 16bit IIR
- PendingFlip status bit

This patch reintroduces a handler specifically for gen2 for the purpose
of handling pageflips correctly, simplifying code in the process.

v2: Also fixup ring get/put irq to only access 16bit registers (Daniel)

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=24202
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41793
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: use posting_read16 in intel_ringbuffer.c and kill _driver
from the function names.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_ringbuffer.c