aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2024-08-01 14:26:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-08-06 11:11:01 -0400
commit792be2e23ac69821db7860ba4ba94592101f0b07 (patch)
treeac321b0cb732b11446a13446473b8e95a2956387 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parent64a905203fd0da3e8a3f649593cc48c9fbab25d0 (diff)
drm/amdgpu: create function to check RAS RMA status
In the convenience of calling it globally. 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 0d49b74bfe5e..9625e5c92413 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -974,4 +974,5 @@ __printf(3, 4)
void amdgpu_ras_event_log_print(struct amdgpu_device *adev, u64 event_id,
const char *fmt, ...);
+bool amdgpu_ras_is_rma(struct amdgpu_device *adev);
#endif