drm/amdgpu: use leaf iterator for filling PTs
authorChristian König <christian.koenig@amd.com>
Mon, 3 Sep 2018 12:34:51 +0000 (14:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2018 20:14:10 +0000 (15:14 -0500)
commitdfa70550f5b77252d99ba9c410b9fbe6e4088e51
tree6a1a7e4ceffa25dc52879b854ee707f8bff3b444
parentd4085ea9bc8dc44eb4bfd696474f9ef26ec9e0cd
drm/amdgpu: use leaf iterator for filling PTs

Less overhead and is the starting point for further cleanups and
improvements.

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