drm/amdgpu: Make max_pfn 64-bit
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 29 Mar 2017 00:24:53 +0000 (20:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:51 +0000 (23:55 -0400)
commit22770e5a750e905a1aaa66e20b88d080e42ddd15
treed461d869979fa29e83eb88920d9babb18f2ed8c6
parent43e669d65eb45897c062fc439018ad4988d59576
drm/amdgpu: Make max_pfn 64-bit

With 4-level page tables the maximum VM size is 256TB. That's 64G
pages, which can't be represented in 32-bit.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c