summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2015-08-03 18:19:38 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:50:51 -0400
commitbb1e38a4bead5025ecca90544f0f733f59996b13 (patch)
tree4316a5e89dc9ae44fdd3d794a1dc0abcfdaf3293 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parente40a31159b72742224c249cf57c5313be7ccd629 (diff)
downloadlinux-bb1e38a4bead5025ecca90544f0f733f59996b13.tar.bz2
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.h4
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 {
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 {