Skip to content
Commit feba2b81 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/gem: Fix error path to unlock if the GEM context is closed



When inside the lock, remember to unlock even if you want to leave
early.

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: a4e7ccda ("drm/i915: Move context management under GEM")
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106144155.25727-1-chris@chris-wilson.co.uk
parent 841e8672
Loading
Loading
Loading
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