[PATCH] drm/amdgpu: always make gart.table_addr 64bit

Alex Deucher alexdeucher at gmail.com
Thu Nov 16 17:49:04 UTC 2017


On Thu, Nov 16, 2017 at 12:31 PM, Christian König
<ckoenig.leichtzumerken at gmail.com> wrote:
> Fixing warning/compile errors on 32bit kernels.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> --
> 2.11.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list