drm/i915: Remove locking for get-caching query
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 May 2015 11:14:55 +0000 (12:14 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:04:12 +0000 (13:04 +0200)
commit432be69d9d7e7e23f994422690639f3aa1d6abc2
treeab69983855e1aa340ebd16d964a3734bf8768d67
parent637a9c63f84263ebfdb27440b81d6e18e5d35754
drm/i915: Remove locking for get-caching query

Reading a single value from the object, the locking only provides futile
protection against userspace races. The locking is useless so remove it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c