Re: [PATCH] drm/amdgpu: unlock on error in gfx_v9_4_3_kiq_resume()

2023-05-03 Thread Alex Deucher
Applied. Thanks! Alex On Wed, May 3, 2023 at 11:29 AM Dan Carpenter wrote: > > Smatch complains that we need to drop this lock before returning. > > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:1838 gfx_v9_4_3_kiq_resume() > warn: inconsistent returns 'ring->mqd_obj->tbo.base.resv'. > >

[PATCH] drm/amdgpu: unlock on error in gfx_v9_4_3_kiq_resume()

2023-05-03 Thread Dan Carpenter
Smatch complains that we need to drop this lock before returning. drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:1838 gfx_v9_4_3_kiq_resume() warn: inconsistent returns 'ring->mqd_obj->tbo.base.resv'. Fixes: 86301129698b ("drm/amdgpu: split gc v9_4_3 functionality from gc v9_0") Signed-off-by: