|
@@ -272,6 +272,18 @@ static int create_compute_queue_nocpsch(struct device_queue_manager *dqm,
|
|
|
return retval;
|
|
|
}
|
|
|
|
|
|
+ pr_debug("kfd: loading mqd to hqd on pipe (%d) queue (%d)\n",
|
|
|
+ q->pipe,
|
|
|
+ q->queue);
|
|
|
+
|
|
|
+ retval = mqd->load_mqd(mqd, q->mqd, q->pipe,
|
|
|
+ q->queue, q->properties.write_ptr);
|
|
|
+ if (retval != 0) {
|
|
|
+ deallocate_hqd(dqm, q);
|
|
|
+ mqd->uninit_mqd(mqd, q->mqd, q->mqd_mem_obj);
|
|
|
+ return retval;
|
|
|
+ }
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|