drm/amdkfd: Identify SDMA queue in create queue ioctl
authorBen Goz <ben.goz@amd.com>
Sat, 3 Jan 2015 20:12:33 +0000 (22:12 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Fri, 9 Jan 2015 20:26:05 +0000 (22:26 +0200)
commit3385f9dd64d44f6adefb6f4680658d1e43bac9c9
treeb4d7d75fa9a1a34ffabd26332dc22083d6f6ef6c
parentbcea308175748339b872cc50972e0a31c1999c64
drm/amdkfd: Identify SDMA queue in create queue ioctl

This patch adds a check to the create queue ioctl path, which identifies SDMA
queue type that is sent by userspace.

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