drm/amdgpu/gmc9: make some ECC messages debug only
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Nov 2017 16:40:58 +0000 (11:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:56 +0000 (12:47 -0500)
To avoid spamming the logs on non-ECC boards.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index 798f7fc..8529005 100644 (file)
@@ -571,11 +571,11 @@ static int gmc_v9_0_ecc_available(struct amdgpu_device *adev)
                          reg_val, field_val, fv2);
 
                if (!field_val) {
-                       DRM_ERROR("ecc: WrEccEn is not set\n");
+                       DRM_DEBUG("ecc: WrEccEn is not set\n");
                        ++lost_sheep;
                }
                if (!fv2) {
-                       DRM_ERROR("ecc: RdEccEn is not set\n");
+                       DRM_DEBUG("ecc: RdEccEn is not set\n");
                        ++lost_sheep;
                }
        }