drm/amdkfd: Pass queue type to pqm_create_queue()
This patch passes the correct queue type to pqm_create_queue() instead of a fixed KFD_QUEUE_TYPE_COMPUTE type. 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>
This commit is contained in:
parent
3385f9dd64
commit
85dfaef341
1 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,8 @@ static long kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p,
|
||||||
p->pasid,
|
p->pasid,
|
||||||
dev->id);
|
dev->id);
|
||||||
|
|
||||||
err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, 0,
|
err = pqm_create_queue(&p->pqm, dev, filep, &q_properties,
|
||||||
KFD_QUEUE_TYPE_COMPUTE, &queue_id);
|
0, q_properties.type, &queue_id);
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
goto err_create_queue;
|
goto err_create_queue;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue