Commit 88c511de authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amd/gfx11: move the gfx mutex into the caller



Otherwise we can fail to drop the software mutex when
we fail to take the hardware mutex.

Fixes: 76acba7b ("drm/amdgpu/gfx11: add a mutex for the gfx semaphore")
Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 186fb12e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment