mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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:
parent
76acba7b7f
commit
478efcb90b
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user