]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbaeda4d8d2b5ba790f16ca54a650803f474c1080
treece22d15f07af2746e085f827fc79607395e14056
parent50210e472833914a1a9b87765bd7eb3623202381
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