aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2217-drm-amdgpu-gmc9-make-some-ECC-messages-debug-only.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2217-drm-amdgpu-gmc9-make-some-ECC-messages-debug-only.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2217-drm-amdgpu-gmc9-make-some-ECC-messages-debug-only.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2217-drm-amdgpu-gmc9-make-some-ECC-messages-debug-only.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2217-drm-amdgpu-gmc9-make-some-ECC-messages-debug-only.patch
new file mode 100644
index 00000000..fa4b8391
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2217-drm-amdgpu-gmc9-make-some-ECC-messages-debug-only.patch
@@ -0,0 +1,37 @@
+From b634a9b3d75ad0d21b745f5d8647119989e29434 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri, 17 Nov 2017 11:40:58 -0500
+Subject: [PATCH 2217/4131] drm/amdgpu/gmc9: make some ECC messages debug only
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+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>
+---
+ 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 4cb87eb..fd2d793 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;
+ }
+ }
+--
+2.7.4
+