]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915/ringbuffer: Simplify the ring irq refcounting
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Jan 2011 22:22:56 +0000 (22:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:43:57 +0000 (20:43 +0000)
commit01a03331e5fe91861937f8b8e72c259f5e9eae67
tree04907482e03da7bafae301778104a13610a38076
parent9862e600cef87de0e301bad7d1435b87e03ea84d
drm/i915/ringbuffer: Simplify the ring irq refcounting

... and move it under the spinlock to gain the appropriate memory
barriers.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32752
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h