drm/i915: Convert the file mutex into a spinlock
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Sep 2010 10:03:27 +0000 (11:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Sep 2010 10:03:27 +0000 (11:03 +0100)
commit1c25595f8d31392b8c36b54c624d01591dbfb87b
tree961ce6bb76bdc7aa7b245bb77fa054df6ee9b463
parent447da18742b170b8e09ac71edf63c5798d2dbb0b
drm/i915: Convert the file mutex into a spinlock

Daniel Vetter pointed out that in this case is would be clearer and
cleaner to use a spinlock instead of a mutex to protect the per-file
request list manipulation. Make it so.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c