]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Use a global lock for modifying global irq flags
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 20:48:47 +0000 (21:48 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:09 +0000 (11:18 +0200)
commit7338aefa5cad08eb6794aa8e9a5853dedb990aa0
treeab722239c55f3382d77675a63016a3ca46e22b87
parent97e1930f09e9b656e823cd841cf29bfbbe326832
drm/i915: Use a global lock for modifying global irq flags

We were attempting to use a per-ring spinlock whilst modifying global
IRQ flags. A recipe for rare missed interrupts.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h