Commit 478efcb9 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/gfx11: export gfx_v11_0_request_gfx_index_mutex()

It will be used by the queue reset code.
Acked-by: default avatarVitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 76acba7b
...@@ -4742,8 +4742,8 @@ static int gfx_v11_0_wait_for_idle(void *handle) ...@@ -4742,8 +4742,8 @@ static int gfx_v11_0_wait_for_idle(void *handle)
return -ETIMEDOUT; return -ETIMEDOUT;
} }
static int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev, int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev,
bool req) bool req)
{ {
u32 i, tmp, val; u32 i, tmp, val;
......
...@@ -26,4 +26,7 @@ ...@@ -26,4 +26,7 @@
extern const struct amdgpu_ip_block_version gfx_v11_0_ip_block; 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 #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment