]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use dfs iterator to free PDs/PTs
authorChristian König <christian.koenig@amd.com>
Thu, 6 Sep 2018 13:35:13 +0000 (15:35 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2018 20:14:09 +0000 (15:14 -0500)
commita752b17f5b1c5fa30a6212a5ef54c302b81403b7
tree087de522b32bc62bd20d8187d7d62b612b339f5d
parent59f03a3e5b018d1a54f5d8df58497c099a9cf0c7
drm/amdgpu: use dfs iterator to free PDs/PTs

Allows us to free all PDs/PTs without recursion.

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