drm/amdgpu: fix another potential cause of VM faults
authorChristian König <christian.koenig@amd.com>
Wed, 24 Jan 2018 13:57:02 +0000 (14:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Jan 2018 04:15:26 +0000 (23:15 -0500)
commitd3aab672de4902ce25e9858fbb5bf67e8254b23c
treead6d9053e07263e6eaecd4d73c55989d3bd6f8df
parent59fd27cd2fd762b08a1f54de8bbe3b82aba06a13
drm/amdgpu: fix another potential cause of VM faults

The root PD can be evicted directly after allocating it, just validate
it on first use.

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