From: Candice Li <candice.li@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Candice Li <candice.li@amd.com>
Subject: [PATCH] drm/amd/amdgpu: add name field back to ras_common_if
Date: Mon, 23 Aug 2021 16:54:26 +0800 [thread overview]
Message-ID: <20210823085426.5998-1-candice.li@amd.com> (raw)
Adding name filed back to ras_common_if to work around error
injection failure with amdgpuras tool.
Change-Id: I9d181a4153b055e22ac6adeb3b51a521c8c2793b
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
index abc5710898e803..5b5163357fcb61 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -309,6 +309,7 @@ struct ras_common_if {
enum amdgpu_ras_block block;
enum amdgpu_ras_error_type type;
uint32_t sub_block_index;
+ char name[32];
};
struct amdgpu_ras {
--
2.17.1
reply other threads:[~2021-08-23 8:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210823085426.5998-1-candice.li@amd.com \
--to=candice.li@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