diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-11-06 17:41:55 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-11-06 18:46:05 +0300 |
commit | feba2b8146633390f8df44946eceb4274f7377ed (patch) | |
tree | ada7ca9bf9d167cbb650996efb3f13787a14df4e /drivers/gpu/drm/i915/i915_gpu_error.c | |
parent | 841e86728615baa77b0ea9d8b357e66052c75fe5 (diff) | |
download | linux-feba2b8146633390f8df44946eceb4274f7377ed.tar.xz |
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: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: a4e7ccdac38e ("drm/i915: Move context management under GEM")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106144155.25727-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
0 files changed, 0 insertions, 0 deletions