From: Alex Xie Date: Wed, 15 Feb 2017 19:10:19 +0000 (-0500) Subject: drm/amdgpu: change pte definitions to 64 bit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=982a1348bbbf8c09f5fa06f7b48d31bad85d0f81;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu: change pte definitions to 64 bit Reviewed-by: Alex Deucher Reviewed-by: Christian König Signed-off-by: Alex Xie Signed-off-by: Alex Deucher --- 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)