Re: [PATCH] drm/amd/gfx11: move the gfx mutex into the caller

2024-08-20 Thread SRINIVASAN SHANMUGAM
On 8/20/2024 8:09 PM, Alex Deucher wrote: Otherwise we can fail to drop the software mutex when we fail to take the hardware mutex. Fixes: 76acba7b7f12 ("drm/amdgpu/gfx11: add a mutex for the gfx semaphore") Reported-by: Dan Carpenter Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amd

Re: [PATCH] drm/amd/gfx11: move the gfx mutex into the caller

2024-08-20 Thread Dan Carpenter
On Tue, Aug 20, 2024 at 10:39:09AM -0400, Alex Deucher wrote: > Otherwise we can fail to drop the software mutex when > we fail to take the hardware mutex. > > Fixes: 76acba7b7f12 ("drm/amdgpu/gfx11: add a mutex for the gfx semaphore") > Reported-by: Dan Carpenter > Signed-off-by: Alex Deucher

[PATCH] drm/amd/gfx11: move the gfx mutex into the caller

2024-08-20 Thread Alex Deucher
Otherwise we can fail to drop the software mutex when we fail to take the hardware mutex. Fixes: 76acba7b7f12 ("drm/amdgpu/gfx11: add a mutex for the gfx semaphore") Reported-by: Dan Carpenter Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 7 +++ 1 file changed, 3