diff options
author | 2022-04-19 14:45:09 +0800 | |
---|---|---|
committer | 2022-04-22 14:50:18 -0400 | |
commit | b3c76814ce5b043faa2f07108f1c87ed1cbc8cd1 (patch) | |
tree | 800df0ac9d49539a56cf2a1765fb9bf9d587f27c /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
parent | drm/amdgpu: add RAS poison consumption handler (v2) (diff) | |
download | linux-b3c76814ce5b043faa2f07108f1c87ed1cbc8cd1.tar.gz linux-b3c76814ce5b043faa2f07108f1c87ed1cbc8cd1.tar.bz2 linux-b3c76814ce5b043faa2f07108f1c87ed1cbc8cd1.zip |
drm/amdgpu: add RAS fatal error interrupt handler
The fatal error handler is independent from general ras interrupt
handler since there is no related IH ring.
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.h | 1 |
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 c4b61785ab5c..b9a6fac2b8b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -683,4 +683,5 @@ int amdgpu_ras_set_context(struct amdgpu_device *adev, struct amdgpu_ras *ras_co int amdgpu_ras_register_ras_block(struct amdgpu_device *adev, struct amdgpu_ras_block_object *ras_block_obj); +void amdgpu_ras_interrupt_fatal_error_handler(struct amdgpu_device *adev); #endif |