drm/amdgpu: add VM support for huge pages v2
authorChristian König <christian.koenig@amd.com>
Mon, 18 Sep 2017 11:58:30 +0000 (13:58 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2017 20:30:18 +0000 (16:30 -0400)
commit9fc8fc709b356c85034cbcb3b84c9d8b77865f52
tree728ab27d8e0919ce0952e166b85ecb38be451d53
parent6056a1a565547743c5a87dc3d9c51d086acf9c27
drm/amdgpu: add VM support for huge pages v2

Convert GTT mappings into linear ones for huge page handling.

v2: use fragment size as minimum for linear conversion

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@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_vm.c