]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: meld together VM fragment and huge page handling
authorChristian König <christian.koenig@amd.com>
Thu, 6 Sep 2018 15:13:06 +0000 (17:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2018 20:14:10 +0000 (15:14 -0500)
commit621e76d8c9d38fb861b1464459e30650d953b81a
tree440a266b0a9717c9206274e30477f15ee68585d1
parentc06f5843a6302a3267afc8b977088e8578030aab
drm/amdgpu: meld together VM fragment and huge page handling

This optimizes the generating of PTEs by walking the hierarchy only once
for a range and making changes as necessary.

It allows for both huge (2MB) as well giant (1GB) pages to be used on
Vega and Raven.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c