drm/amdkfd: Don't create BUG due to incorrect user parameter
authorOded Gabbay <oded.gabbay@amd.com>
Tue, 20 Jan 2015 12:57:19 +0000 (14:57 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Mon, 2 Feb 2015 07:45:24 +0000 (09:45 +0200)
commitb9dce23ddc949faa8ba138f8a0811e177c991bf1
tree4124f379d5b92328bb84320d34cc12450803191f
parentca400b2a1a6c768416725e5f873829e23300d3eb
drm/amdkfd: Don't create BUG due to incorrect user parameter

This patch changes a BUG_ON() statement to pr_debug, in case the user tries to
update a non-existing queue.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Ben Goz <ben.goz@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c