diff options
author | Chris Wilson <[email protected]> | 2019-11-06 14:41:55 +0000 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2019-11-11 10:29:52 +0200 |
commit | 6300c663725187f80de53631bf516971505327f2 (patch) | |
tree | 6cf25bf2b63401ea87b41683902425e3445b2fbd /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | d29926fa5f580565a7240c4d6a428795c773fb76 (diff) |
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 <[email protected]>
Fixes: a4e7ccdac38e ("drm/i915: Move context management under GEM")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit feba2b8146633390f8df44946eceb4274f7377ed)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions