]> 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)
commitf12b4290f3ecd096f6366e1b044d3b33d6388dca
treece22d15f07af2746e085f827fc79607395e14056
parente57429f7f936dc55145e2a0f56c985ba3653f323
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