]> 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)
commit533f8fdf51e915f67deef3be93c72d596b9756b9
treee4893ad147322c0f563cdd9919667920c045fa91
parent64ed3685218edce992cf8af8a1daea43cc894049
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