aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2015-08-02 23:43:19 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:50:54 -0400
commit1763552ee8a7f39a1788d24e27b50d4dee383520 (patch)
tree84d272a00dfcde18558663b2c79800cc1b51ea27 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parented88a0ee7ff53c292350fc5d38eae161c2372d51 (diff)
drm/amdgpu: add kernel fence in ib_submit_kernel_helper
every sbumission should be able to get a fence. Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <jammy.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 371ff0845989..e1f093c1f011 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -872,7 +872,8 @@ int amdgpu_sched_ib_submit_kernel_helper(struct amdgpu_device *adev,
872 struct amdgpu_ib *ibs, 872 struct amdgpu_ib *ibs,
873 unsigned num_ibs, 873 unsigned num_ibs,
874 int (*free_job)(struct amdgpu_cs_parser *), 874 int (*free_job)(struct amdgpu_cs_parser *),
875 void *owner); 875 void *owner,
876 struct fence **fence);
876 877
877struct amdgpu_ring { 878struct amdgpu_ring {
878 struct amdgpu_device *adev; 879 struct amdgpu_device *adev;