aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorAlex Xie <[email protected]>2017-02-15 19:10:19 +0000
committerAlex Deucher <[email protected]>2017-03-30 03:53:00 +0000
commit982a1348bbbf8c09f5fa06f7b48d31bad85d0f81 (patch)
tree0a1f1512bd1b680a875800067cf7184a2603fc43 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm/amdgpu: fix PTE defines (diff)
downloadkernel-982a1348bbbf8c09f5fa06f7b48d31bad85d0f81.tar.gz
kernel-982a1348bbbf8c09f5fa06f7b48d31bad85d0f81.zip
drm/amdgpu: change pte definitions to 64 bit
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Xie <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index bcd4fb5aa8cb..1dc5c1064452 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -63,7 +63,7 @@ struct amdgpu_bo_list_entry;
#define AMDGPU_PTE_READABLE (1ULL << 5)
#define AMDGPU_PTE_WRITEABLE (1ULL << 6)
-#define AMDGPU_PTE_FRAG(x) ((x & 0x1f) << 7)
+#define AMDGPU_PTE_FRAG(x) ((x & 0x1fULL) << 7)
#define AMDGPU_PTE_PRT (1ULL << 63)