drm/amdkfd: Delete excessive printings
Those printings are duplicated or useless. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
66f28b9a16
commit
1e21647402
drivers/gpu/drm/amd/amdkfd
@ -297,8 +297,6 @@ static int create_queue_nocpsch(struct device_queue_manager *dqm,
|
|||||||
struct mqd_manager *mqd_mgr;
|
struct mqd_manager *mqd_mgr;
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
print_queue(q);
|
|
||||||
|
|
||||||
dqm_lock(dqm);
|
dqm_lock(dqm);
|
||||||
|
|
||||||
if (dqm->total_queue_count >= max_num_of_queues_per_device) {
|
if (dqm->total_queue_count >= max_num_of_queues_per_device) {
|
||||||
|
@ -257,7 +257,6 @@ int pqm_create_queue(struct process_queue_manager *pqm,
|
|||||||
pqn->q = q;
|
pqn->q = q;
|
||||||
pqn->kq = NULL;
|
pqn->kq = NULL;
|
||||||
retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd);
|
retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd);
|
||||||
pr_debug("DQM returned %d for create_queue\n", retval);
|
|
||||||
print_queue(q);
|
print_queue(q);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -278,7 +277,6 @@ int pqm_create_queue(struct process_queue_manager *pqm,
|
|||||||
pqn->q = q;
|
pqn->q = q;
|
||||||
pqn->kq = NULL;
|
pqn->kq = NULL;
|
||||||
retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd);
|
retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd);
|
||||||
pr_debug("DQM returned %d for create_queue\n", retval);
|
|
||||||
print_queue(q);
|
print_queue(q);
|
||||||
break;
|
break;
|
||||||
case KFD_QUEUE_TYPE_DIQ:
|
case KFD_QUEUE_TYPE_DIQ:
|
||||||
@ -299,7 +297,7 @@ int pqm_create_queue(struct process_queue_manager *pqm,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (retval != 0) {
|
if (retval != 0) {
|
||||||
pr_err("Pasid 0x%x DQM create queue %d failed. ret %d\n",
|
pr_err("Pasid 0x%x DQM create queue type %d failed. ret %d\n",
|
||||||
pqm->process->pasid, type, retval);
|
pqm->process->pasid, type, retval);
|
||||||
goto err_create_queue;
|
goto err_create_queue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user