]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/amdgpu: rework page directory filling v2
authorChristian König <christian.koenig@amd.com>
Wed, 9 Aug 2017 12:15:46 +0000 (14:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2017 17:45:24 +0000 (13:45 -0400)
commitea09729c930223edf492d0ca647c27e7eb0ccb12
tree7af83967d9e12cb910cce6177163b9de84f4c4fc
parentebe02de2c60caa3ee5a1b39c7c8b2a40e1fda2d8
drm/amdgpu: rework page directory filling v2

Keep track off relocated PDs/PTs instead of walking and checking all PDs.

v2: fix root PD handling

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Reviewed-by: Chunming Zhou <david1.zhou@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