drm/amdgpu: fix potential VM faults
authorChristian König <christian.koenig@amd.com>
Thu, 19 Sep 2019 08:38:57 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2019 10:27:27 +0000 (11:27 +0100)
commit1df8da335d40e3037d7207c47102b4edff0f3446
tree4210b16262c52953b6494e7d75287d08cb3356f6
parent3cd2b6492cde09e1cb58f523321bcf5af6315f30
drm/amdgpu: fix potential VM faults

[ Upstream commit 3122051edc7c27cc08534be730f4c7c180919b8a ]

When we allocate new page tables under memory
pressure we should not evict old ones.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c