summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2023-06-08 11:25:42 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-08-09 16:46:04 +0300
commit7692e1ee2446fd1940b5caa6e09779504a58881a (patch)
tree66b7e9fe402a2e4dfd5648610d02af9c1d10d99f /drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h
parent657db07b32293fd0ddca29bd9b9a5e105d186902 (diff)
downloadlinux-7692e1ee2446fd1940b5caa6e09779504a58881a.tar.xz
drm/amdgpu: add RAS fatal error handler for NBIO v7.9
Register RAS fatal error interrupt and add handler. v2: only register NBIO RAS for dGPU platform. change nbio_v7_9_set_ras_controller_irq_state and nbio_v7_9_set_ras_err_event_athub_irq_state to dummy functions. 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/nbio_v7_9.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h b/drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h
index 8e04eb484328..73709771950d 100644
--- a/drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h
+++ b/drivers/gpu/drm/amd/amdgpu/nbio_v7_9.h
@@ -28,5 +28,6 @@
extern const struct nbio_hdp_flush_reg nbio_v7_9_hdp_flush_reg;
extern const struct amdgpu_nbio_funcs nbio_v7_9_funcs;
+extern struct amdgpu_nbio_ras nbio_v7_9_ras;
#endif