Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+5 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
··· 4742 4742 return -ETIMEDOUT; 4743 4743 } 4744 4744 4745 - static int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev, 4746 - bool req) 4745 + int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev, 4746 + bool req) 4747 4747 { 4748 4748 u32 i, tmp, val; 4749 4749
+3
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.h
··· 26 26 27 27 extern const struct amdgpu_ip_block_version gfx_v11_0_ip_block; 28 28 29 + int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev, 30 + bool req); 31 + 29 32 #endif