]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: enable huge page handling in the VM v5
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:35:38 +0000 (16:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:35:38 +0000 (16:35 -0400)
commit3638ed675b2d346f4edc66de233a8a9c6436dbe6
treec768e35ef9cd0492d82ddc7d911d6a0676abe3de
parent9df61e40c62e059b9dcc0d850024fe17d7ae5b8b
drm/amdgpu: enable huge page handling in the VM v5

The hardware can use huge pages to map 2MB of address space with only one PDE.

v2: few cleanups and rebased
v3: skip PT updates if we are using the PDE
v4: rebased, added support for CPU based updates
v5: fix CPU based updates once more
v6: fix ndw estimation

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