From: "Clements, John" <John.Clements@amd.com>
To: "amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
"Zhang, Hawking" <Hawking.Zhang@amd.com>
Subject: [PATCH] drm/amdgpu: resolve erroneous gfx_v9_4_2 ras prints
Date: Mon, 19 Apr 2021 02:46:41 +0000 [thread overview]
Message-ID: <CY4PR1201MB0072EA9CE113F9CAEC0348F9FB499@CY4PR1201MB0072.namprd12.prod.outlook.com> (raw)
[-- 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
next reply other threads:[~2021-04-19 2:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 2:46 Clements, John [this message]
2021-04-19 3:14 ` [PATCH] drm/amdgpu: resolve erroneous gfx_v9_4_2 ras prints Zhang, Hawking
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CY4PR1201MB0072EA9CE113F9CAEC0348F9FB499@CY4PR1201MB0072.namprd12.prod.outlook.com \
--to=john.clements@amd.com \
--cc=Hawking.Zhang@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).