diff options
author | 2024-10-27 01:38:44 +0800 | |
---|---|---|
committer | 2024-10-29 15:48:56 -0400 | |
commit | a2f599046c671d6b46d93aed95b37241ce4504cf (patch) | |
tree | 54b7f09377fef3f5559cab307b333769e9628046 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/ci: add sm8350-hdk (diff) | |
download | wireguard-linux-a2f599046c671d6b46d93aed95b37241ce4504cf.tar.xz wireguard-linux-a2f599046c671d6b46d93aed95b37241ce4504cf.zip |
drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
When the call to gf100_grctx_generate() fails, unlock gr->fecs.mutex
before returning the error.
Fixes smatch warning:
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:480 gf100_gr_chan_new() warn: inconsistent returns '&gr->fecs.mutex'.
Fixes: ca081fff6ecc ("drm/nouveau/gr/gf100-: generate golden context during first object alloc")
Signed-off-by: Li Huafei <lihuafei1@huawei.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241026173844.2392679-1-lihuafei1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions