Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a16008f authored by Alex Deucher's avatar Alex Deucher
Browse files

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



To avoid spamming the logs on non-ECC boards.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b3cce465
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
		}
	}