aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-05-04 04:20:01 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 12:31:18 -0400
commit0ea54b9b6c4ebc04cc6f68246b03577a25dbd4bb (patch)
treef9f9f4e15d258cc6ccb72799ff6b2238af6502ca /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent4d9c514d8ccff2b4bd0db5d3e178c0c0b3f3bc77 (diff)
drm/amdgpu: make the VMID owner always 64bit
Otherwise we could (in theory) run into problems on 32bit systems. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index e42b0a357fb8..130c0a7c65d1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -897,7 +897,7 @@ struct amdgpu_vm_id {
897 struct amdgpu_sync active; 897 struct amdgpu_sync active;
898 struct fence *last_flush; 898 struct fence *last_flush;
899 struct amdgpu_ring *last_user; 899 struct amdgpu_ring *last_user;
900 atomic_long_t owner; 900 atomic64_t owner;
901 901
902 uint64_t pd_gpu_addr; 902 uint64_t pd_gpu_addr;
903 /* last flushed PD/PT update */ 903 /* last flushed PD/PT update */