]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde4ff62480a9ac2670a48449c76ff3c2bdc438bb
tree728ab27d8e0919ce0952e166b85ecb38be451d53
parent0b1ca84060c58f83dc3992fe9d76256fe8186b08
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