drm/amdgpu: handle multi level PD size calculation (v2)
authorChristian König <christian.koenig@amd.com>
Wed, 19 Oct 2016 09:03:57 +0000 (11:03 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:25 +0000 (23:55 -0400)
commit72a7ec5cf6912886190ac0da93d2038dbc5baf8a
tree4a9e2bf9b8bbbce70b542fe6bc0a2ec2dbbe5d35
parent67003a15b736988bcb0c5f871be353d702a862ba
drm/amdgpu: handle multi level PD size calculation (v2)

Allows us to get the size for all levels as well.

v2: agd: fix warning

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