]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Don't use shadow BO for compute context
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Thu, 12 Jul 2018 02:32:59 +0000 (22:32 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 12 Jul 2018 02:32:59 +0000 (22:32 -0400)
commit1a73882826d109af1ecf9c64458995029090070e
treefbf9c9f048cd60724d58a6694027c4827adb665a
parentf0a740c62643af8d300d794ba2b54d98191a2089
drm/amdgpu: Don't use shadow BO for compute context

Compute contexts cannot keep going after a GPU reset. Currently the process
must terminate. In the future a process may be able recreate its context
from scratch. Either way, there is no need to restore the GPUVM page table
from shadow BOs.

Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c