]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit913280ca6690baa5d5804bcdc261c3f9b8f7bae9
treead6d9053e07263e6eaecd4d73c55989d3bd6f8df
parentf7a8f622a5225394bf3cb83387990e0478552828
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