drm/amdgpu: always make gart.table_addr 64bit
authorChristian König <christian.koenig@amd.com>
Thu, 16 Nov 2017 17:29:51 +0000 (18:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:56 +0000 (12:47 -0500)
Fixing warning/compile errors on 32bit kernels.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h

index f15e319580ec58e942c471aa824fb7f47bd59893..5eb1a6800f723a13fced94e2bda55a817e3bdb6d 100644 (file)
@@ -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;