drm/amdkfd: Limit queue number per process and device to 127
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 27 Sep 2017 04:09:55 +0000 (00:09 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 27 Sep 2017 04:09:55 +0000 (00:09 -0400)
commit36c2d7eb5e99a4d765b1ec241823d563c71b1125
treefed6137f4537567941d540c61870505acb6506b9
parentbc920fd4f4350a2e3094c165a77798d721f39e7b
drm/amdkfd: Limit queue number per process and device to 127

HWS uses bit 7 in the queue number of the map process packet for an
undocumented feature. Therefore the queue number per process and
device must be 127 or less.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c