diff options
author | Alex Xie <AlexBin.Xie@amd.com> | 2017-02-15 14:10:19 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:53:00 -0400 |
commit | 982a1348bbbf8c09f5fa06f7b48d31bad85d0f81 (patch) | |
tree | 0a1f1512bd1b680a875800067cf7184a2603fc43 | |
parent | 35ba15f03de690b9d25dd46226b398ee0ad98d5d (diff) |
drm/amdgpu: change pte definitions to 64 bit
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 |
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) |