diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-11-17 19:40:58 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 20:47:56 +0300 |
commit | 5a16008f5353e0515ab2d317f1239d2c98f116e3 (patch) | |
tree | ac4db97dca4ae2fa5fc7d26a7165a13636b0c510 /drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | |
parent | b3cce465750a46deeeb1ed64c6f7f56ffb1cd6bf (diff) | |
download | linux-5a16008f5353e0515ab2d317f1239d2c98f116e3.tar.xz |
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/gpu/drm/amd/amdgpu/gmc_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 |
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; } } |