aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2015-07-28 22:33:14 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:50:44 -0400
commit3c704e934d07bcb5fdf9725db190e2ae60fba1bd (patch)
treed817c9197c65e9fc07a0403a19d08310840931b6 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentd1ff9086c1b8e67390161599006a34056b437a72 (diff)
drm/amdgpu: add helper function for kernel submission
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 2619c78ec303..1e87acf35892 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -864,6 +864,13 @@ enum amdgpu_ring_type {
864 864
865extern struct amd_sched_backend_ops amdgpu_sched_ops; 865extern struct amd_sched_backend_ops amdgpu_sched_ops;
866 866
867int amdgpu_sched_ib_submit_kernel_helper(struct amdgpu_device *adev,
868 struct amdgpu_ring *ring,
869 struct amdgpu_ib *ibs,
870 unsigned num_ibs,
871 int (*free_job)(struct amdgpu_cs_parser *),
872 void *owner);
873
867struct amdgpu_ring { 874struct amdgpu_ring {
868 struct amdgpu_device *adev; 875 struct amdgpu_device *adev;
869 const struct amdgpu_ring_funcs *funcs; 876 const struct amdgpu_ring_funcs *funcs;