]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdkfd: Delete excessive printings
authorYong Zhao <Yong.Zhao@amd.com>
Wed, 5 Feb 2020 23:22:48 +0000 (18:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:20:26 +0000 (14:20 -0500)
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>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c

index a3c44d88314be8560ef74955388bdda730eec8b6..958275db3f55447e43de3b16dfca8f7710e6c769 100644 (file)
@@ -297,8 +297,6 @@ static int create_queue_nocpsch(struct device_queue_manager *dqm,
        struct mqd_manager *mqd_mgr;
        int retval;
 
-       print_queue(q);
-
        dqm_lock(dqm);
 
        if (dqm->total_queue_count >= max_num_of_queues_per_device) {
index 3ebbc06f56ee87a2640f87caa94c299231591919..95002278990ec167137e900b9ebfeee5ab013ee9 100644 (file)
@@ -257,7 +257,6 @@ int pqm_create_queue(struct process_queue_manager *pqm,
                pqn->q = q;
                pqn->kq = NULL;
                retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd);
-               pr_debug("DQM returned %d for create_queue\n", retval);
                print_queue(q);
                break;
 
@@ -278,7 +277,6 @@ int pqm_create_queue(struct process_queue_manager *pqm,
                pqn->q = q;
                pqn->kq = NULL;
                retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd);
-               pr_debug("DQM returned %d for create_queue\n", retval);
                print_queue(q);
                break;
        case KFD_QUEUE_TYPE_DIQ:
@@ -299,7 +297,7 @@ int pqm_create_queue(struct process_queue_manager *pqm,
        }
 
        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);
                goto err_create_queue;
        }