drm/amdgpu/ttm: Fix memory leak userptr pages

[ Upstream commit 0f6f9dd490 ]

If userptr pages have been pinned but not bounded,
they remain uncleared.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Daniel Gomez 2021-03-17 17:08:37 +01:00 • committed by Greg Kroah-Hartman
commit 14637a8dfe