Skip to content
Snippets Groups Projects
Commit 63484afb 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 ffff173a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment