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>
This commit is contained in:
Chunming Zhou
2015-08-03 18:19:38 +08:00
committed by Alex Deucher
parent e40a31159b
commit bb1e38a4be
3 changed files with 15 additions and 15 deletions

View File

@@ -539,7 +539,7 @@ struct amdgpu_bo_va_mapping {
struct amdgpu_bo_va {
/* protected by bo being reserved */
struct list_head bo_list;
struct amdgpu_fence *last_pt_update;
struct fence *last_pt_update;
unsigned ref_count;
/* protected by vm mutex and spinlock */
@@ -1241,7 +1241,7 @@ union amdgpu_sched_job_param {
struct amdgpu_vm *vm;
uint64_t start;
uint64_t last;
struct amdgpu_fence **fence;
struct fence **fence;
} vm_mapping;
struct {