drm/amdgpu/gfx11: export gfx_v11_0_request_gfx_index_mutex()

It will be used by the queue reset code.

Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2024-07-12 16:39:30 -04:00
parent 76acba7b7f
commit 478efcb90b
2 changed files with 5 additions and 2 deletions

View File

@ -4742,8 +4742,8 @@ static int gfx_v11_0_wait_for_idle(void *handle)
return -ETIMEDOUT;
}
static int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev,
bool req)
int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev,
bool req)
{
u32 i, tmp, val;

View File

@ -26,4 +26,7 @@
extern const struct amdgpu_ip_block_version gfx_v11_0_ip_block;
int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev,
bool req);
#endif