aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c8
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c1
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c6
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c8
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik_sdma.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/si_dma.c4
-rw-r--r--drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c6
-rw-r--r--drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c6
-rw-r--r--drivers/gpu/drm/amd/powerplay/amd_powerplay.c2
24 files changed, 47 insertions, 50 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
index 5432af39a674..c70cda04dbfb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
@@ -85,7 +85,7 @@ void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev)
85 kfd2kgd = amdgpu_amdkfd_gfx_8_0_get_functions(); 85 kfd2kgd = amdgpu_amdkfd_gfx_8_0_get_functions();
86 break; 86 break;
87 default: 87 default:
88 dev_info(adev->dev, "kfd not supported on this ASIC\n"); 88 dev_dbg(adev->dev, "kfd not supported on this ASIC\n");
89 return; 89 return;
90 } 90 }
91 91
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
index f450b69323fa..39f4d0df1ada 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
@@ -690,12 +690,12 @@ int amdgpu_atombios_get_clock_info(struct amdgpu_device *adev)
690 le32_to_cpu(firmware_info->info_21.ulDefaultDispEngineClkFreq); 690 le32_to_cpu(firmware_info->info_21.ulDefaultDispEngineClkFreq);
691 /* set a reasonable default for DP */ 691 /* set a reasonable default for DP */
692 if (adev->clock.default_dispclk < 53900) { 692 if (adev->clock.default_dispclk < 53900) {
693 DRM_INFO("Changing default dispclk from %dMhz to 600Mhz\n", 693 DRM_DEBUG("Changing default dispclk from %dMhz to 600Mhz\n",
694 adev->clock.default_dispclk / 100); 694 adev->clock.default_dispclk / 100);
695 adev->clock.default_dispclk = 60000; 695 adev->clock.default_dispclk = 60000;
696 } else if (adev->clock.default_dispclk <= 60000) { 696 } else if (adev->clock.default_dispclk <= 60000) {
697 DRM_INFO("Changing default dispclk from %dMhz to 625Mhz\n", 697 DRM_DEBUG("Changing default dispclk from %dMhz to 625Mhz\n",
698 adev->clock.default_dispclk / 100); 698 adev->clock.default_dispclk / 100);
699 adev->clock.default_dispclk = 62500; 699 adev->clock.default_dispclk = 62500;
700 } 700 }
701 adev->clock.dp_extclk = 701 adev->clock.dp_extclk =
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index d5d450e380bd..212138476130 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1029,7 +1029,7 @@ static int amdgpu_atombios_init(struct amdgpu_device *adev)
1029 atom_card_info->ioreg_read = cail_ioreg_read; 1029 atom_card_info->ioreg_read = cail_ioreg_read;
1030 atom_card_info->ioreg_write = cail_ioreg_write; 1030 atom_card_info->ioreg_write = cail_ioreg_write;
1031 } else { 1031 } else {
1032 DRM_INFO("PCI I/O BAR is not found. Using MMIO to access ATOM BIOS\n"); 1032 DRM_DEBUG("PCI I/O BAR is not found. Using MMIO to access ATOM BIOS\n");
1033 atom_card_info->ioreg_read = cail_reg_read; 1033 atom_card_info->ioreg_read = cail_reg_read;
1034 atom_card_info->ioreg_write = cail_reg_write; 1034 atom_card_info->ioreg_write = cail_reg_write;
1035 } 1035 }
@@ -2267,8 +2267,6 @@ int amdgpu_device_init(struct amdgpu_device *adev,
2267 dev_err(adev->dev, "gpu post error!\n"); 2267 dev_err(adev->dev, "gpu post error!\n");
2268 goto failed; 2268 goto failed;
2269 } 2269 }
2270 } else {
2271 DRM_INFO("GPU post is not needed\n");
2272 } 2270 }
2273 2271
2274 if (adev->is_atom_fw) { 2272 if (adev->is_atom_fw) {
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index c2f414ffb2cc..6b11a75839e2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -306,7 +306,6 @@ MODULE_PARM_DESC(cik_support, "CIK support (1 = enabled (default), 0 = disabled)
306module_param_named(cik_support, amdgpu_cik_support, int, 0444); 306module_param_named(cik_support, amdgpu_cik_support, int, 0444);
307#endif 307#endif
308 308
309
310static const struct pci_device_id pciidlist[] = { 309static const struct pci_device_id pciidlist[] = {
311#ifdef CONFIG_DRM_AMDGPU_SI 310#ifdef CONFIG_DRM_AMDGPU_SI
312 {0x1002, 0x6780, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI}, 311 {0x1002, 0x6780, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI},
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
index 72e8eacc2c03..eda89dfdef5b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
@@ -391,9 +391,9 @@ int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring,
391 ring->fence_drv.irq_type = irq_type; 391 ring->fence_drv.irq_type = irq_type;
392 ring->fence_drv.initialized = true; 392 ring->fence_drv.initialized = true;
393 393
394 dev_info(adev->dev, "fence driver on ring %d use gpu addr 0x%016llx, " 394 dev_dbg(adev->dev, "fence driver on ring %d use gpu addr 0x%016llx, "
395 "cpu addr 0x%p\n", ring->idx, 395 "cpu addr 0x%p\n", ring->idx,
396 ring->fence_drv.gpu_addr, ring->fence_drv.cpu_addr); 396 ring->fence_drv.gpu_addr, ring->fence_drv.cpu_addr);
397 return 0; 397 return 0;
398} 398}
399 399
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
index 47c5ce9807db..32590e4f9f7a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
@@ -232,7 +232,7 @@ int amdgpu_irq_init(struct amdgpu_device *adev)
232 int ret = pci_enable_msi(adev->pdev); 232 int ret = pci_enable_msi(adev->pdev);
233 if (!ret) { 233 if (!ret) {
234 adev->irq.msi_enabled = true; 234 adev->irq.msi_enabled = true;
235 dev_info(adev->dev, "amdgpu: using MSI.\n"); 235 dev_dbg(adev->dev, "amdgpu: using MSI.\n");
236 } 236 }
237 } 237 }
238 238
@@ -262,7 +262,7 @@ int amdgpu_irq_init(struct amdgpu_device *adev)
262 return r; 262 return r;
263 } 263 }
264 264
265 DRM_INFO("amdgpu: irq initialized.\n"); 265 DRM_DEBUG("amdgpu: irq initialized.\n");
266 return 0; 266 return 0;
267} 267}
268 268
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index ea25164e7f4b..c48fc450d99b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -779,8 +779,8 @@ int amdgpu_bo_init(struct amdgpu_device *adev)
779 adev->mc.vram_mtrr = arch_phys_wc_add(adev->mc.aper_base, 779 adev->mc.vram_mtrr = arch_phys_wc_add(adev->mc.aper_base,
780 adev->mc.aper_size); 780 adev->mc.aper_size);
781 DRM_INFO("Detected VRAM RAM=%lluM, BAR=%lluM\n", 781 DRM_INFO("Detected VRAM RAM=%lluM, BAR=%lluM\n",
782 adev->mc.mc_vram_size >> 20, 782 adev->mc.mc_vram_size >> 20,
783 (unsigned long long)adev->mc.aper_size >> 20); 783 (unsigned long long)adev->mc.aper_size >> 20);
784 DRM_INFO("RAM width %dbits %s\n", 784 DRM_INFO("RAM width %dbits %s\n",
785 adev->mc.vram_width, amdgpu_vram_names[adev->mc.vram_type]); 785 adev->mc.vram_width, amdgpu_vram_names[adev->mc.vram_type]);
786 return amdgpu_ttm_init(adev); 786 return amdgpu_ttm_init(adev);
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
index 6604771356cd..be607b2be4e9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
@@ -1218,7 +1218,7 @@ int amdgpu_uvd_ring_test_ib(struct amdgpu_ring *ring, long timeout)
1218 } else if (r < 0) { 1218 } else if (r < 0) {
1219 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r); 1219 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
1220 } else { 1220 } else {
1221 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 1221 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
1222 r = 0; 1222 r = 0;
1223 } 1223 }
1224 1224
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
index 873c99518954..92477e67087c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
@@ -954,7 +954,7 @@ int amdgpu_vce_ring_test_ring(struct amdgpu_ring *ring)
954 } 954 }
955 955
956 if (i < timeout) { 956 if (i < timeout) {
957 DRM_INFO("ring test on %d succeeded in %d usecs\n", 957 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
958 ring->idx, i); 958 ring->idx, i);
959 } else { 959 } else {
960 DRM_ERROR("amdgpu: ring %d test failed\n", 960 DRM_ERROR("amdgpu: ring %d test failed\n",
@@ -999,7 +999,7 @@ int amdgpu_vce_ring_test_ib(struct amdgpu_ring *ring, long timeout)
999 } else if (r < 0) { 999 } else if (r < 0) {
1000 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r); 1000 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
1001 } else { 1001 } else {
1002 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 1002 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
1003 r = 0; 1003 r = 0;
1004 } 1004 }
1005error: 1005error:
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index 96df21cca85d..dabaca4da7f2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -261,7 +261,7 @@ int amdgpu_vcn_dec_ring_test_ring(struct amdgpu_ring *ring)
261 } 261 }
262 262
263 if (i < adev->usec_timeout) { 263 if (i < adev->usec_timeout) {
264 DRM_INFO("ring test on %d succeeded in %d usecs\n", 264 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
265 ring->idx, i); 265 ring->idx, i);
266 } else { 266 } else {
267 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 267 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
@@ -467,7 +467,7 @@ int amdgpu_vcn_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout)
467 } else if (r < 0) { 467 } else if (r < 0) {
468 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r); 468 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
469 } else { 469 } else {
470 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 470 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
471 r = 0; 471 r = 0;
472 } 472 }
473 473
@@ -500,7 +500,7 @@ int amdgpu_vcn_enc_ring_test_ring(struct amdgpu_ring *ring)
500 } 500 }
501 501
502 if (i < adev->usec_timeout) { 502 if (i < adev->usec_timeout) {
503 DRM_INFO("ring test on %d succeeded in %d usecs\n", 503 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
504 ring->idx, i); 504 ring->idx, i);
505 } else { 505 } else {
506 DRM_ERROR("amdgpu: ring %d test failed\n", 506 DRM_ERROR("amdgpu: ring %d test failed\n",
@@ -643,7 +643,7 @@ int amdgpu_vcn_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)
643 } else if (r < 0) { 643 } else if (r < 0) {
644 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r); 644 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
645 } else { 645 } else {
646 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 646 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
647 r = 0; 647 r = 0;
648 } 648 }
649error: 649error:
diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
index 60cecd117705..ed26dcbc4f79 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
@@ -657,7 +657,7 @@ static int cik_sdma_ring_test_ring(struct amdgpu_ring *ring)
657 } 657 }
658 658
659 if (i < adev->usec_timeout) { 659 if (i < adev->usec_timeout) {
660 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 660 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
661 } else { 661 } else {
662 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 662 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
663 ring->idx, tmp); 663 ring->idx, tmp);
@@ -724,7 +724,7 @@ static int cik_sdma_ring_test_ib(struct amdgpu_ring *ring, long timeout)
724 } 724 }
725 tmp = le32_to_cpu(adev->wb.wb[index]); 725 tmp = le32_to_cpu(adev->wb.wb[index]);
726 if (tmp == 0xDEADBEEF) { 726 if (tmp == 0xDEADBEEF) {
727 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 727 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
728 r = 0; 728 r = 0;
729 } else { 729 } else {
730 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp); 730 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp);
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
index dbbe986f90f2..9430d4809b53 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
@@ -1798,7 +1798,7 @@ static int gfx_v6_0_ring_test_ring(struct amdgpu_ring *ring)
1798 DRM_UDELAY(1); 1798 DRM_UDELAY(1);
1799 } 1799 }
1800 if (i < adev->usec_timeout) { 1800 if (i < adev->usec_timeout) {
1801 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 1801 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
1802 } else { 1802 } else {
1803 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n", 1803 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n",
1804 ring->idx, scratch, tmp); 1804 ring->idx, scratch, tmp);
@@ -1951,7 +1951,7 @@ static int gfx_v6_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)
1951 } 1951 }
1952 tmp = RREG32(scratch); 1952 tmp = RREG32(scratch);
1953 if (tmp == 0xDEADBEEF) { 1953 if (tmp == 0xDEADBEEF) {
1954 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 1954 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
1955 r = 0; 1955 r = 0;
1956 } else { 1956 } else {
1957 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n", 1957 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index 419ba0ce7ee5..015f37bef358 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -2085,7 +2085,7 @@ static int gfx_v7_0_ring_test_ring(struct amdgpu_ring *ring)
2085 DRM_UDELAY(1); 2085 DRM_UDELAY(1);
2086 } 2086 }
2087 if (i < adev->usec_timeout) { 2087 if (i < adev->usec_timeout) {
2088 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 2088 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
2089 } else { 2089 } else {
2090 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n", 2090 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n",
2091 ring->idx, scratch, tmp); 2091 ring->idx, scratch, tmp);
@@ -2365,7 +2365,7 @@ static int gfx_v7_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)
2365 } 2365 }
2366 tmp = RREG32(scratch); 2366 tmp = RREG32(scratch);
2367 if (tmp == 0xDEADBEEF) { 2367 if (tmp == 0xDEADBEEF) {
2368 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 2368 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
2369 r = 0; 2369 r = 0;
2370 } else { 2370 } else {
2371 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n", 2371 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 9ecdf621a74a..9f93e05bf97e 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -804,7 +804,7 @@ static int gfx_v8_0_ring_test_ring(struct amdgpu_ring *ring)
804 DRM_UDELAY(1); 804 DRM_UDELAY(1);
805 } 805 }
806 if (i < adev->usec_timeout) { 806 if (i < adev->usec_timeout) {
807 DRM_INFO("ring test on %d succeeded in %d usecs\n", 807 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
808 ring->idx, i); 808 ring->idx, i);
809 } else { 809 } else {
810 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n", 810 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n",
@@ -856,7 +856,7 @@ static int gfx_v8_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)
856 } 856 }
857 tmp = RREG32(scratch); 857 tmp = RREG32(scratch);
858 if (tmp == 0xDEADBEEF) { 858 if (tmp == 0xDEADBEEF) {
859 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 859 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
860 r = 0; 860 r = 0;
861 } else { 861 } else {
862 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n", 862 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index da43813d67a4..a5811e80e21b 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -327,7 +327,7 @@ static int gfx_v9_0_ring_test_ring(struct amdgpu_ring *ring)
327 DRM_UDELAY(1); 327 DRM_UDELAY(1);
328 } 328 }
329 if (i < adev->usec_timeout) { 329 if (i < adev->usec_timeout) {
330 DRM_INFO("ring test on %d succeeded in %d usecs\n", 330 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
331 ring->idx, i); 331 ring->idx, i);
332 } else { 332 } else {
333 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n", 333 DRM_ERROR("amdgpu: ring %d test failed (scratch(0x%04X)=0x%08X)\n",
@@ -379,7 +379,7 @@ static int gfx_v9_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)
379 } 379 }
380 tmp = RREG32(scratch); 380 tmp = RREG32(scratch);
381 if (tmp == 0xDEADBEEF) { 381 if (tmp == 0xDEADBEEF) {
382 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 382 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
383 r = 0; 383 r = 0;
384 } else { 384 } else {
385 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n", 385 DRM_ERROR("amdgpu: ib test failed (scratch(0x%04X)=0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 67f375bfe452..92f8c44a73b6 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@ -633,7 +633,7 @@ static int sdma_v2_4_ring_test_ring(struct amdgpu_ring *ring)
633 } 633 }
634 634
635 if (i < adev->usec_timeout) { 635 if (i < adev->usec_timeout) {
636 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 636 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
637 } else { 637 } else {
638 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 638 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
639 ring->idx, tmp); 639 ring->idx, tmp);
@@ -704,7 +704,7 @@ static int sdma_v2_4_ring_test_ib(struct amdgpu_ring *ring, long timeout)
704 } 704 }
705 tmp = le32_to_cpu(adev->wb.wb[index]); 705 tmp = le32_to_cpu(adev->wb.wb[index]);
706 if (tmp == 0xDEADBEEF) { 706 if (tmp == 0xDEADBEEF) {
707 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 707 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
708 r = 0; 708 r = 0;
709 } else { 709 } else {
710 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp); 710 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp);
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
index 6d06f8eb659f..52e6bf2e9e59 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
@@ -893,7 +893,7 @@ static int sdma_v3_0_ring_test_ring(struct amdgpu_ring *ring)
893 } 893 }
894 894
895 if (i < adev->usec_timeout) { 895 if (i < adev->usec_timeout) {
896 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 896 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
897 } else { 897 } else {
898 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 898 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
899 ring->idx, tmp); 899 ring->idx, tmp);
@@ -964,7 +964,7 @@ static int sdma_v3_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)
964 } 964 }
965 tmp = le32_to_cpu(adev->wb.wb[index]); 965 tmp = le32_to_cpu(adev->wb.wb[index]);
966 if (tmp == 0xDEADBEEF) { 966 if (tmp == 0xDEADBEEF) {
967 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 967 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
968 r = 0; 968 r = 0;
969 } else { 969 } else {
970 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp); 970 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp);
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index 46009db3d195..fe78c00b9ffa 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -919,7 +919,7 @@ static int sdma_v4_0_ring_test_ring(struct amdgpu_ring *ring)
919 } 919 }
920 920
921 if (i < adev->usec_timeout) { 921 if (i < adev->usec_timeout) {
922 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 922 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
923 } else { 923 } else {
924 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 924 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
925 ring->idx, tmp); 925 ring->idx, tmp);
@@ -990,7 +990,7 @@ static int sdma_v4_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)
990 } 990 }
991 tmp = le32_to_cpu(adev->wb.wb[index]); 991 tmp = le32_to_cpu(adev->wb.wb[index]);
992 if (tmp == 0xDEADBEEF) { 992 if (tmp == 0xDEADBEEF) {
993 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 993 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
994 r = 0; 994 r = 0;
995 } else { 995 } else {
996 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp); 996 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp);
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dma.c b/drivers/gpu/drm/amd/amdgpu/si_dma.c
index 3fa2fbf8c9a1..ee469a906cd3 100644
--- a/drivers/gpu/drm/amd/amdgpu/si_dma.c
+++ b/drivers/gpu/drm/amd/amdgpu/si_dma.c
@@ -252,7 +252,7 @@ static int si_dma_ring_test_ring(struct amdgpu_ring *ring)
252 } 252 }
253 253
254 if (i < adev->usec_timeout) { 254 if (i < adev->usec_timeout) {
255 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); 255 DRM_DEBUG("ring test on %d succeeded in %d usecs\n", ring->idx, i);
256 } else { 256 } else {
257 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 257 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
258 ring->idx, tmp); 258 ring->idx, tmp);
@@ -317,7 +317,7 @@ static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout)
317 } 317 }
318 tmp = le32_to_cpu(adev->wb.wb[index]); 318 tmp = le32_to_cpu(adev->wb.wb[index]);
319 if (tmp == 0xDEADBEEF) { 319 if (tmp == 0xDEADBEEF) {
320 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 320 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
321 r = 0; 321 r = 0;
322 } else { 322 } else {
323 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp); 323 DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp);
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
index 8ab0f78794a5..15771a53038e 100644
--- a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
@@ -521,7 +521,7 @@ static int uvd_v4_2_ring_test_ring(struct amdgpu_ring *ring)
521 } 521 }
522 522
523 if (i < adev->usec_timeout) { 523 if (i < adev->usec_timeout) {
524 DRM_INFO("ring test on %d succeeded in %d usecs\n", 524 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
525 ring->idx, i); 525 ring->idx, i);
526 } else { 526 } else {
527 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 527 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
index bb6d46e168a3..3b29aaba783a 100644
--- a/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
@@ -536,7 +536,7 @@ static int uvd_v5_0_ring_test_ring(struct amdgpu_ring *ring)
536 } 536 }
537 537
538 if (i < adev->usec_timeout) { 538 if (i < adev->usec_timeout) {
539 DRM_INFO("ring test on %d succeeded in %d usecs\n", 539 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
540 ring->idx, i); 540 ring->idx, i);
541 } else { 541 } else {
542 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 542 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
index 246dfd74f5c9..0c01825a8b9e 100644
--- a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
@@ -184,7 +184,7 @@ static int uvd_v6_0_enc_ring_test_ring(struct amdgpu_ring *ring)
184 } 184 }
185 185
186 if (i < adev->usec_timeout) { 186 if (i < adev->usec_timeout) {
187 DRM_INFO("ring test on %d succeeded in %d usecs\n", 187 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
188 ring->idx, i); 188 ring->idx, i);
189 } else { 189 } else {
190 DRM_ERROR("amdgpu: ring %d test failed\n", 190 DRM_ERROR("amdgpu: ring %d test failed\n",
@@ -360,7 +360,7 @@ static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)
360 } else if (r < 0) { 360 } else if (r < 0) {
361 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r); 361 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
362 } else { 362 } else {
363 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 363 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
364 r = 0; 364 r = 0;
365 } 365 }
366error: 366error:
@@ -1008,7 +1008,7 @@ static int uvd_v6_0_ring_test_ring(struct amdgpu_ring *ring)
1008 } 1008 }
1009 1009
1010 if (i < adev->usec_timeout) { 1010 if (i < adev->usec_timeout) {
1011 DRM_INFO("ring test on %d succeeded in %d usecs\n", 1011 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
1012 ring->idx, i); 1012 ring->idx, i);
1013 } else { 1013 } else {
1014 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 1014 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
index 762ff3901a7a..7b77339feb1a 100644
--- a/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
@@ -184,7 +184,7 @@ static int uvd_v7_0_enc_ring_test_ring(struct amdgpu_ring *ring)
184 } 184 }
185 185
186 if (i < adev->usec_timeout) { 186 if (i < adev->usec_timeout) {
187 DRM_INFO("ring test on %d succeeded in %d usecs\n", 187 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
188 ring->idx, i); 188 ring->idx, i);
189 } else { 189 } else {
190 DRM_ERROR("amdgpu: ring %d test failed\n", 190 DRM_ERROR("amdgpu: ring %d test failed\n",
@@ -359,7 +359,7 @@ static int uvd_v7_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout)
359 } else if (r < 0) { 359 } else if (r < 0) {
360 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r); 360 DRM_ERROR("amdgpu: fence wait failed (%ld).\n", r);
361 } else { 361 } else {
362 DRM_INFO("ib test on ring %d succeeded\n", ring->idx); 362 DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
363 r = 0; 363 r = 0;
364 } 364 }
365error: 365error:
@@ -1192,7 +1192,7 @@ static int uvd_v7_0_ring_test_ring(struct amdgpu_ring *ring)
1192 } 1192 }
1193 1193
1194 if (i < adev->usec_timeout) { 1194 if (i < adev->usec_timeout) {
1195 DRM_INFO("ring test on %d succeeded in %d usecs\n", 1195 DRM_DEBUG("ring test on %d succeeded in %d usecs\n",
1196 ring->idx, i); 1196 ring->idx, i);
1197 } else { 1197 } else {
1198 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n", 1198 DRM_ERROR("amdgpu: ring %d test failed (0x%08X)\n",
diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
index c7e34128cbde..726425809eed 100644
--- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
+++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
@@ -122,7 +122,7 @@ static int pp_sw_init(void *handle)
122 122
123 ret = hwmgr->smumgr_funcs->smu_init(hwmgr); 123 ret = hwmgr->smumgr_funcs->smu_init(hwmgr);
124 124
125 pr_info("amdgpu: powerplay sw initialized\n"); 125 pr_debug("amdgpu: powerplay sw initialized\n");
126 } 126 }
127 return ret; 127 return ret;
128} 128}