]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21c3266214ac6efd2c07fc0e8d4d21757d25b717
treed461d869979fa29e83eb88920d9babb18f2ed8c6
parentaa7c80e33e6790c2a0900d8575c52c2103d8afe6
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