diff options
| author | Christian König <[email protected]> | 2017-11-16 17:29:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-12-06 17:47:56 +0000 |
| commit | b3cce465750a46deeeb1ed64c6f7f56ffb1cd6bf (patch) | |
| tree | d11230f110a244e32e9deda9aaa395f4838c7d64 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | |
| parent | drm/amd/display: remove unnecessary cast and use kcalloc instead of kzalloc (diff) | |
| download | kernel-b3cce465750a46deeeb1ed64c6f7f56ffb1cd6bf.tar.gz kernel-b3cce465750a46deeeb1ed64c6f7f56ffb1cd6bf.zip | |
drm/amdgpu: always make gart.table_addr 64bit
Fixing warning/compile errors on 32bit kernels.
Signed-off-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h index f15e319580ec..5eb1a6800f72 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h @@ -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; |
