OSDN Git Service

drm/amdkfd: Reduce eviction/restore message levels
authorPhilip Cox <Philip.Cox@amd.com>
Wed, 9 Sep 2020 19:44:14 +0000 (15:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Sep 2020 01:22:17 +0000 (21:22 -0400)
Reduce the eviction and restore messages from INFO level to DEBUG level.

Signed-off-by: Philip Cox <Philip.Cox@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

index 7ef33ea..ed362ab 100644 (file)
@@ -650,7 +650,7 @@ static int evict_process_queues_nocpsch(struct device_queue_manager *dqm,
                goto out;
 
        pdd = qpd_to_pdd(qpd);
-       pr_info_ratelimited("Evicting PASID 0x%x queues\n",
+       pr_debug_ratelimited("Evicting PASID 0x%x queues\n",
                            pdd->process->pasid);
 
        pdd->last_evict_timestamp = get_jiffies_64();
@@ -701,7 +701,7 @@ static int evict_process_queues_cpsch(struct device_queue_manager *dqm,
                goto out;
 
        pdd = qpd_to_pdd(qpd);
-       pr_info_ratelimited("Evicting PASID 0x%x queues\n",
+       pr_debug_ratelimited("Evicting PASID 0x%x queues\n",
                            pdd->process->pasid);
 
        /* Mark all queues as evicted. Deactivate all active queues on
@@ -749,7 +749,7 @@ static int restore_process_queues_nocpsch(struct device_queue_manager *dqm,
                goto out;
        }
 
-       pr_info_ratelimited("Restoring PASID 0x%x queues\n",
+       pr_debug_ratelimited("Restoring PASID 0x%x queues\n",
                            pdd->process->pasid);
 
        /* Update PD Base in QPD */
@@ -832,7 +832,7 @@ static int restore_process_queues_cpsch(struct device_queue_manager *dqm,
                goto out;
        }
 
-       pr_info_ratelimited("Restoring PASID 0x%x queues\n",
+       pr_debug_ratelimited("Restoring PASID 0x%x queues\n",
                            pdd->process->pasid);
 
        /* Update PD Base in QPD */