Displaying 1 result from an estimated 1 matches for "ca081fff6ecc".
2024 Oct 29
0
[PATCH] 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 at huawei.com>
> ---
> drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/nouve...