diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2017-05-18 10:19:03 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-25 01:14:49 +0300 |
commit | a340c7bcf1ea01f8bee82d62b521f0c5e4653425 (patch) | |
tree | 20d4701190436739042b22ecfc319d6fa86b0a81 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | f8af933206e22d756510271b1501202ba1e3aafd (diff) | |
download | linux-a340c7bcf1ea01f8bee82d62b521f0c5e4653425.tar.xz |
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 { struct amdgpu_vm *vm; struct amdgpu_ring *ring; struct amdgpu_sync sync; + struct amdgpu_sync dep_sync; struct amdgpu_sync sched_sync; struct amdgpu_ib *ibs; struct dma_fence *fence; /* the hw fence */ |