commit | fbd5a26d500c7cd8943cc5f37ccc7e49cf386053 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Oct 14 15:03:58 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Oct 19 09:19:47 2010 +0100 |
tree | 28d8aa6e9d9818589f2abee0ca1f798c3cd63255 | |
parent | b5e4feb6615fe07150f05bb0e0ccc0ff9138b9ec [diff] |
drm/i915: Rearrange acquisition of mutex during pwrite ... to avoid reacquiring it to drop the object reference count on exit. Note we have to make sure we now drop (and reacquire) the lock around acquiring the mm semaphore on the slow paths. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>