Skip to content
Snippets Groups Projects
Commit fbd5a26d authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent b5e4feb6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment