amd-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: resolve erroneous gfx_v9_4_2 ras prints
@ 2021-04-19  2:46 Clements, John
  2021-04-19  3:14 ` Zhang, Hawking
  0 siblings, 1 reply; 2+ messages in thread
From: Clements, John @ 2021-04-19  2:46 UTC (permalink / raw)
  To: amd-gfx, Zhang, Hawking


[-- Attachment #1.1: Type: text/plain, Size: 215 bytes --]

[AMD Official Use Only - Internal Distribution Only]

Submitting patch to resolve bug where gfx_v9_4_2 ras related prints would appear on driver loading when there are no ras errors.

Thank you,
John Clements

[-- Attachment #1.2: Type: text/html, Size: 2054 bytes --]

[-- Attachment #2: 0001-drm-amdgpu-resolve-erroneous-gfx_v9_4_2-prints.patch --]
[-- Type: application/octet-stream, Size: 1065 bytes --]

From 8ba1df447dab32cfad3ed49c7baceba89a8553c8 Mon Sep 17 00:00:00 2001
From: John Clements <john.clements@amd.com>
Date: Mon, 19 Apr 2021 10:42:51 +0800
Subject: [PATCH 1/1] drm/amdgpu: resolve erroneous gfx_v9_4_2 prints

resolve bug on aldebaran where gfx error counts will print on driver load when there are no errors present

Signed-off-by: John Clements <john.clements@amd.com>
Change-Id: I74b514245144c5a446f4f6dcad4e07e7b19c8be0
---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c
index 0070c091b2b7..63ec71abed53 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c
@@ -997,7 +997,7 @@ static int gfx_v9_4_2_query_utc_edc_count(struct amdgpu_device *adev,
 			       blk->clear);
 
 			/* print the edc count */
-			if (sec_cnt || ded_count)
+			if (sec_cnt || ded_cnt)
 				gfx_v9_4_2_log_utc_edc_count(adev, blk, j, sec_cnt,
 							     ded_cnt);
 		}
-- 
2.17.1


[-- Attachment #3: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-19  3:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19  2:46 [PATCH] drm/amdgpu: resolve erroneous gfx_v9_4_2 ras prints Clements, John
2021-04-19  3:14 ` Zhang, Hawking

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).