aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorYang Wang <[email protected]>2023-10-19 10:16:14 +0000
committerAlex Deucher <[email protected]>2023-10-26 22:41:21 +0000
commitec3e0a9167e2cc97a9b12d9f2a619afd78b77223 (patch)
treedc151d360ce3afb4a8d478671a8d8fdcc2677420 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parentdrm/amdgpu: fix find ras error node error (diff)
downloadkernel-ec3e0a9167e2cc97a9b12d9f2a619afd78b77223.tar.gz
kernel-ec3e0a9167e2cc97a9b12d9f2a619afd78b77223.zip
drm/amdgpu: refine ras error kernel log print
refine ras error kernel log to avoid user-ridden ambiguity. Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
index 2fdfef62ee27..665414c22ca9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -515,10 +515,7 @@ struct ras_manager {
/* IH data */
struct ras_ih_data ih_data;
- struct {
- unsigned long ue_count;
- unsigned long ce_count;
- } err_data;
+ struct ras_err_data err_data;
};
struct ras_badpage {