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>
This commit is contained in:
Chunming Zhou
2015-08-03 11:43:19 +08:00
committed by Alex Deucher
parent ed88a0ee7f
commit 1763552ee8
9 changed files with 41 additions and 20 deletions

View File

@@ -872,7 +872,8 @@ int amdgpu_sched_ib_submit_kernel_helper(struct amdgpu_device *adev,
struct amdgpu_ib *ibs,
unsigned num_ibs,
int (*free_job)(struct amdgpu_cs_parser *),
void *owner);
void *owner,
struct fence **fence);
struct amdgpu_ring {
struct amdgpu_device *adev;