aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2024-05-23 11:23:20 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-06-05 11:25:14 -0400
commitb95fa494d6b74c30eeb4a50481aa1041c631754e (patch)
treeb5f6a3167531f119d94551f4fe6f328702fc8be8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parent15c2990e0f0108b9c3752d7072a97d45d4283aea (diff)
downloadlinux-b95fa494d6b74c30eeb4a50481aa1041c631754e.tar.gz
linux-b95fa494d6b74c30eeb4a50481aa1041c631754e.tar.bz2
linux-b95fa494d6b74c30eeb4a50481aa1041c631754e.zip
drm/amdgpu: add RAS is_rma flag
Set the flag to true if bad page number reaches threshold. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
index 56b9bf63b67f..e70c45712ddb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -522,6 +522,7 @@ struct amdgpu_ras {
bool update_channel_flag;
/* Record status of smu mca debug mode */
bool is_aca_debug_mode;
+ bool is_rma;
/* Record special requirements of gpu reset caller */
uint32_t gpu_reset_flags;