drm/i915: rearrange mutex acquisition for pread
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Oct 2010 14:26:45 +0000 (15:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 08:19:55 +0000 (09:19 +0100)
commit4f27b75d56334f33cbccff5da8372dc4aba122ba
tree9b22fab1e6cf69085a03c43a5c541db1c1658ca7
parentfbd5a26d500c7cd8943cc5f37ccc7e49cf386053
drm/i915: rearrange mutex acquisition for pread

... to avoid the double acquisition along fast[er] paths.

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