Commit b3cce465 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/amdgpu: always make gart.table_addr 64bit

Fixing warning/compile errors on 32bit kernels.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e778c131
...@@ -39,7 +39,7 @@ struct amdgpu_gart_funcs; ...@@ -39,7 +39,7 @@ struct amdgpu_gart_funcs;
#define AMDGPU_GPU_PAGE_ALIGN(a) (((a) + AMDGPU_GPU_PAGE_MASK) & ~AMDGPU_GPU_PAGE_MASK) #define AMDGPU_GPU_PAGE_ALIGN(a) (((a) + AMDGPU_GPU_PAGE_MASK) & ~AMDGPU_GPU_PAGE_MASK)
struct amdgpu_gart { struct amdgpu_gart {
dma_addr_t table_addr; u64 table_addr;
struct amdgpu_bo *robj; struct amdgpu_bo *robj;
void *ptr; void *ptr;
unsigned num_gpu_pages; unsigned num_gpu_pages;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment