diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2017-05-18 03:19:03 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 18:14:49 -0400 |
commit | a340c7bcf1ea01f8bee82d62b521f0c5e4653425 (patch) | |
tree | 20d4701190436739042b22ecfc319d6fa86b0a81 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | f8af933206e22d756510271b1501202ba1e3aafd (diff) |
drm/amdgpu: add dep_sync for amdgpu job
The fence in dep_sync cannot be optimized.
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Tested and Reviewed-by: Roger.He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 333413f48165..572e508d185f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1127,6 +1127,7 @@ struct amdgpu_job { | |||
1127 | struct amdgpu_vm *vm; | 1127 | struct amdgpu_vm *vm; |
1128 | struct amdgpu_ring *ring; | 1128 | struct amdgpu_ring *ring; |
1129 | struct amdgpu_sync sync; | 1129 | struct amdgpu_sync sync; |
1130 | struct amdgpu_sync dep_sync; | ||
1130 | struct amdgpu_sync sched_sync; | 1131 | struct amdgpu_sync sched_sync; |
1131 | struct amdgpu_ib *ibs; | 1132 | struct amdgpu_ib *ibs; |
1132 | struct dma_fence *fence; /* the hw fence */ | 1133 | struct dma_fence *fence; /* the hw fence */ |