diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2015-08-03 06:19:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-17 16:50:51 -0400 |
commit | bb1e38a4bead5025ecca90544f0f733f59996b13 (patch) | |
tree | 4316a5e89dc9ae44fdd3d794a1dc0abcfdaf3293 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | e40a31159b72742224c249cf57c5313be7ccd629 (diff) |
drm/amdgpu: use kernel fence for last_pt_update
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 5b8e1aeae13b..371ff0845989 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -539,7 +539,7 @@ struct amdgpu_bo_va_mapping { | |||
539 | struct amdgpu_bo_va { | 539 | struct amdgpu_bo_va { |
540 | /* protected by bo being reserved */ | 540 | /* protected by bo being reserved */ |
541 | struct list_head bo_list; | 541 | struct list_head bo_list; |
542 | struct amdgpu_fence *last_pt_update; | 542 | struct fence *last_pt_update; |
543 | unsigned ref_count; | 543 | unsigned ref_count; |
544 | 544 | ||
545 | /* protected by vm mutex and spinlock */ | 545 | /* protected by vm mutex and spinlock */ |
@@ -1241,7 +1241,7 @@ union amdgpu_sched_job_param { | |||
1241 | struct amdgpu_vm *vm; | 1241 | struct amdgpu_vm *vm; |
1242 | uint64_t start; | 1242 | uint64_t start; |
1243 | uint64_t last; | 1243 | uint64_t last; |
1244 | struct amdgpu_fence **fence; | 1244 | struct fence **fence; |
1245 | 1245 | ||
1246 | } vm_mapping; | 1246 | } vm_mapping; |
1247 | struct { | 1247 | struct { |