Browse Source

drm/amdgpu/gmc9: make some ECC messages debug only

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>
Alex Deucher 7 years ago
parent
commit
5a16008f53
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

+ 2 - 2
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

@@ -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;
 		}
 	}