aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
diff options
context:
space:
mode:
authorpding <Pixel.Ding@amd.com>2017-10-25 21:30:38 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-12-04 16:33:12 -0500
commit9953b72f9c9cb7733334753788faab33ccc4dc0a (patch)
tree4df2e7dd91612afdd7ebcf761242a6d0518fa116 /drivers/gpu/drm/amd/amdgpu/cik_sdma.c
parentbc1b1bf6e347af908c9a994803e18e2e22cf84b3 (diff)
drm/amdgpu: change redundant init logs to debug level
When this VF stays in exclusive mode for long, other VFs will be impacted. The redundant messages causes exclusive mode timeout when they're redirected. That is a normal use case for cloud service to redirect guest log to virtual serial port. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: pding <Pixel.Ding@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik_sdma.c4
1 files changed, 2 insertions, 2 deletions
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);