drm/amdgpu: allocate PDs/PTs with no_gpu_wait in a page fault
authorChristian König <christian.koenig@amd.com>
Mon, 16 Sep 2019 15:35:53 +0000 (10:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:42:55 +0000 (10:42 -0500)
commit061468c405fdf3b518d03bebbeafa0a9dc7300c2
treece22d15f07af2746e085f827fc79607395e14056
parent0f6064d6af94f90032a790072c2070d44ad3a26b
drm/amdgpu: allocate PDs/PTs with no_gpu_wait in a page fault

While handling a page fault we can't wait for other ongoing GPU
operations or we can potentially run into deadlocks.

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