drm/amdgpu/gfx11: add a mutex for the gfx semaphore
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Jul 2024 20:37:33 +0000 (16:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Aug 2024 18:24:33 +0000 (14:24 -0400)
commit76acba7b7f12517990f326fabfecb6f55e334233
tree4a27d4669ec275a931c543570d66c38511675a4f
parentb5be054c585110b2c5c1b180136800e8c41c7bb4
drm/amdgpu/gfx11: add a mutex for the gfx semaphore

This will be used in more places in the future so
add a mutex.

Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c