drm/amdkfd: Handle case of invalid queue type
authorOded Gabbay <oded.gabbay@amd.com>
Thu, 22 Jan 2015 09:40:06 +0000 (11:40 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 22 Jan 2015 10:43:42 +0000 (12:43 +0200)
This patch handles a case where amdkfd tries to destroy a queue but the queue
type is invalid.
This case occurs in non-HWS path.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>

No differences found