drm/i915/ringbuffer: Make IRQ refcnting atomic
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Dec 2010 16:54:50 +0000 (16:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Dec 2010 11:34:46 +0000 (11:34 +0000)
In order to enforce the correct memory barriers for irq get/put, we need
to perform the actual counting using atomic operations.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found