]> git.baikalelectronics.ru Git - 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)
commitdf7f1d9eaeb5d6302f712c6ad033b3f4526b33af
tree7af83967d9e12cb910cce6177163b9de84f4c4fc
parent9d554ec92883f2d11e1354b4a12393eef737d418
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