drm/amdgpu/gmc9: make some ECC messages debug only
Subsystems (2)
PATCH 1/1 drm/amdgpu/gmc9: make some ECC messages debug only
To avoid spamming the logs on non-ECC boards.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2 -2
@@ -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; } }
Signature · 6 lines
2.13.6 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20171117164154.3617-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Christian König
Reviewed-byAm 17.11.2017 um 17:41 schrieb Alex Deucher:
Quoted 3 lines
To avoid spamming the logs on non-ECC boards.
Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 12 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-0@@ -571,11 +571,11 @@ static int gmc_v9_0_ecc_available(struct amdgpu_device *adev) reg_val, field_val, fv2);if (!field_val) {
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_ecc_available(struct amdgpu_device *adev) · line 581
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2
-2-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; } }
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx