drm/amdkfd: allow unregister process with queues
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 14 Apr 2015 11:13:18 +0000 (14:13 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 7 May 2015 14:37:41 +0000 (17:37 +0300)
commit1e5ec956a057585adaa1365615c82810b2f5356f
tree81b93ac1b8c4e31865e59f0c3d2d5c40c3d74128
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
drm/amdkfd: allow unregister process with queues

Sometimes we might unregister process that have queues, because we couldn't
preempt the queues. Until now we blocked it with BUG_ON but instead just
print it as debug.

Reviewed-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c