summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-11-17 11:40:58 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-12-06 12:47:56 -0500
commit5a16008f5353e0515ab2d317f1239d2c98f116e3 (patch)
treeac4db97dca4ae2fa5fc7d26a7165a13636b0c510 /drivers
parentb3cce465750a46deeeb1ed64c6f7f56ffb1cd6bf (diff)
downloadlinux-stable-5a16008f5353e0515ab2d317f1239d2c98f116e3.tar.gz
linux-stable-5a16008f5353e0515ab2d317f1239d2c98f116e3.tar.bz2
linux-stable-5a16008f5353e0515ab2d317f1239d2c98f116e3.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 798f7fc2d4e9..8529005a5022 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/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;
}
}