aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <[email protected]>2015-08-03 11:43:19 +0800
committerAlex Deucher <[email protected]>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 <[email protected]> Reviewed-by: Christian K?nig <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
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,
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;