drm/ttm: make num_pages uint32_t
authorChristian König <christian.koenig@amd.com>
Tue, 20 Oct 2020 18:10:39 +0000 (20:10 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 26 Oct 2020 13:45:30 +0000 (14:45 +0100)
commit230c079fdcf45efacd316a76c3132b9f42cd3565
tree43be19571786b4277d06a513fcd7301e641f0e1b
parent05f8d25097050241d55c19a67c2a7bc7bbc428a9
drm/ttm: make num_pages uint32_t

We can still allocate 16TiB with that.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/396946/
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/nouveau/nouveau_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
include/drm/ttm/ttm_tt.h