]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Change the sdma interrupt print level
authorFeifei Xu <Feifei.Xu@amd.com>
Sun, 25 Apr 2021 07:26:15 +0000 (15:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:35:51 +0000 (23:35 -0400)
Change the print level into debug.

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

index 823a367990bf6d17f51006a6b596af6af539512b..85ab9bbcd5518a79e3db3e80c830f39dc2a9b21d 100644 (file)
@@ -2229,7 +2229,7 @@ static int sdma_v4_0_print_iv_entry(struct amdgpu_device *adev,
        memset(&task_info, 0, sizeof(struct amdgpu_task_info));
        amdgpu_vm_get_task_info(adev, entry->pasid, &task_info);
 
-       dev_info(adev->dev,
+       dev_dbg_ratelimited(adev->dev,
                   "[sdma%d] address:0x%016llx src_id:%u ring:%u vmid:%u "
                   "pasid:%u, for process %s pid %d thread %s pid %d\n",
                   instance, addr, entry->src_id, entry->ring_id, entry->vmid,
@@ -2242,7 +2242,7 @@ static int sdma_v4_0_process_vm_hole_irq(struct amdgpu_device *adev,
                                              struct amdgpu_irq_src *source,
                                              struct amdgpu_iv_entry *entry)
 {
-       dev_err(adev->dev, "MC or SEM address in VM hole\n");
+       dev_dbg_ratelimited(adev->dev, "MC or SEM address in VM hole\n");
        sdma_v4_0_print_iv_entry(adev, entry);
        return 0;
 }
@@ -2251,7 +2251,7 @@ static int sdma_v4_0_process_doorbell_invalid_irq(struct amdgpu_device *adev,
                                              struct amdgpu_irq_src *source,
                                              struct amdgpu_iv_entry *entry)
 {
-       dev_err(adev->dev, "SDMA received a doorbell from BIF with byte_enable !=0xff\n");
+       dev_dbg_ratelimited(adev->dev, "SDMA received a doorbell from BIF with byte_enable !=0xff\n");
        sdma_v4_0_print_iv_entry(adev, entry);
        return 0;
 }
@@ -2260,7 +2260,7 @@ static int sdma_v4_0_process_pool_timeout_irq(struct amdgpu_device *adev,
                                              struct amdgpu_irq_src *source,
                                              struct amdgpu_iv_entry *entry)
 {
-       dev_err(adev->dev,
+       dev_dbg_ratelimited(adev->dev,
                "Polling register/memory timeout executing POLL_REG/MEM with finite timer\n");
        sdma_v4_0_print_iv_entry(adev, entry);
        return 0;
@@ -2270,7 +2270,7 @@ static int sdma_v4_0_process_srbm_write_irq(struct amdgpu_device *adev,
                                              struct amdgpu_irq_src *source,
                                              struct amdgpu_iv_entry *entry)
 {
-       dev_err(adev->dev,
+       dev_dbg_ratelimited(adev->dev,
                "SDMA gets an Register Write SRBM_WRITE command in non-privilege command buffer\n");
        sdma_v4_0_print_iv_entry(adev, entry);
        return 0;