aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorJack Xiao <[email protected]>2020-03-27 09:30:00 +0000
committerAlex Deucher <[email protected]>2022-05-04 14:43:52 +0000
commitd0c423b64765a5060aa56e6df147c45ac696b5dd (patch)
treee68eda3c51b44a82173464f63a7454c132211fb2 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parentdrm/amdgpu/mes: add helper function to get the ctx meta data offset (diff)
downloadkernel-d0c423b64765a5060aa56e6df147c45ac696b5dd.tar.gz
kernel-d0c423b64765a5060aa56e6df147c45ac696b5dd.zip
drm/amdgpu/mes: use ring for kernel queue submission
Use ring as the front end for kernel queue submission. Signed-off-by: Jack Xiao <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
index 4c88e92b196f..287f4e633677 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
@@ -255,4 +255,9 @@ int amdgpu_mes_add_hw_queue(struct amdgpu_device *adev, int gang_id,
int *queue_id);
int amdgpu_mes_remove_hw_queue(struct amdgpu_device *adev, int queue_id);
+int amdgpu_mes_add_ring(struct amdgpu_device *adev, int gang_id,
+ int queue_type, int idx,
+ struct amdgpu_mes_ctx_data *ctx_data,
+ struct amdgpu_ring **out);
+
#endif /* __AMDGPU_MES_H__ */