[PATCH] drm/amdgpu/gmc9: make some ECC messages debug only

Christian König ckoenig.leichtzumerken at gmail.com
Fri Nov 17 16:43:41 UTC 2017


Am 17.11.2017 um 17:41 schrieb Alex Deucher:
> To avoid spamming the logs on non-ECC boards.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 ++--
>   1 file 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;
>   		}
>   	}




More information about the amd-gfx mailing list