drm/amdgpu: free PDs/PTs on demand
authorChristian König <christian.koenig@amd.com>
Fri, 1 Feb 2019 13:02:10 +0000 (14:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:48 +0000 (15:36 -0500)
commite35fb064d8d4de8ecea38dae48f04d0253e3d9be
tree433f389df55e66b988005fe4c89230666521a3b1
parent0ce15d6f7d3fb1162fd7de2829dbdf6d63a6a02a
drm/amdgpu: free PDs/PTs on demand

When something is unmapped we now free the affected PDs/PTs again.

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