]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Enforce kill all waves on process termination
authorBen Goz <ben.goz@amd.com>
Wed, 20 May 2015 15:05:44 +0000 (18:05 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 3 Jun 2015 08:34:47 +0000 (11:34 +0300)
commitd5436a69dfee8fcd047e73a6f2892716b90be9b3
treee4893ad147322c0f563cdd9919667920c045fa91
parentf664dd8b392c37a53acffb7e11f5766942a969a9
drm/amdkfd: Enforce kill all waves on process termination

This commit makes sure that on process termination, after
we're destroying all the active queues, we're killing all the
existing wave front of the current process.

By doing this we're making sure that if any of the CUs were blocked
by infinite loop we're enforcing it to end the shader explicitly.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c