drm/amdgpu: change pte definitions to 64 bit
Subsystems (2)
PATCH 1/1 drm/amdgpu: change pte definitions to 64 bit
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +1 -1
@@ -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)
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1487182140-24084-1-git-send-email-AlexBin.Xie-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byQuoted 2 lines · Alex Xie
Change-Id Iaeeb253cc5c028c93c536ee6ea08213c7fa8f299Signed-off-by Alex Xie <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +1
-2@@ -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) --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Christian König
Reviewed-byAm 15.02.2017 um 19:09 schrieb Alex Xie:
Quoted 2 lines
Change-Id Iaeeb253cc5c028c93c536ee6ea08213c7fa8f299Signed-off-by Alex Xie <[email protected]>
Ah, good catch. I've missed that one.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h struct amdgpu_bo_list_entry; · line 69
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +1
-1@@ -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)
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx