drm/amdgpu: always make gart.table_addr 64bit
Subsystems (2)
PATCH 1/1 drm/amdgpu: always make gart.table_addr 64bit
Fixing warning/compile errors on 32bit kernels.
Signed-off-by Christian König <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h +1 -1
@@ -39,7 +39,7 @@ struct amdgpu_gart_funcs;#define AMDGPU_GPU_PAGE_ALIGN (a) (((a) + AMDGPU_GPU_PAGE_MASK) & ~AMDGPU_GPU_PAGE_MASK)struct amdgpu_gart { -dma_addr_t table_addr; +u64 table_addr;struct amdgpu_bo *robj;void *ptr;unsigned num_gpu_pages;
Signature · 6 lines
2.11.0 _______________________________________________ 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): 20171116173113.843-1-christian.koenig-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Acked-byQuoted 3 lines · Christian König
Fixing warning/compile errors on 32bit kernels.
Signed-off-by Christian König <[email protected]>
Acked-by Alex Deucher <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h +1
-2@@ -39,7 +39,7 @@ struct amdgpu_gart_funcs;#define AMDGPU_GPU_PAGE_ALIGN (a) (((a) + AMDGPU_GPU_PAGE_MASK) & ~AMDGPU_GPU_PAGE_MASK)struct amdgpu_gart { -dma_addr_t table_addr; +u64 table_addr;struct amdgpu_bo *robj;void *ptr;unsigned num_gpu_pages; --2.11.0
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