diff options
author | 2022-04-19 11:04:19 +0800 | |
---|---|---|
committer | 2022-04-22 14:50:13 -0400 | |
commit | 66f879496121c18c541125d04a444c62f3ca82ad (patch) | |
tree | c6e09057dd2e957248e22d9c4ba80b4784dd04d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
parent | drm/amdgpu: add RAS poison creation handler (v2) (diff) | |
download | linux-66f879496121c18c541125d04a444c62f3ca82ad.tar.gz linux-66f879496121c18c541125d04a444c62f3ca82ad.tar.bz2 linux-66f879496121c18c541125d04a444c62f3ca82ad.zip |
drm/amdgpu: add RAS poison consumption handler (v2)
Add support for general RAS poison consumption handler.
v2: remove callback function for poison consumption.
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 606df8869b89..c4b61785ab5c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -509,6 +509,7 @@ struct amdgpu_ras_block_hw_ops { void (*reset_ras_error_count)(struct amdgpu_device *adev); void (*reset_ras_error_status)(struct amdgpu_device *adev); bool (*query_poison_status)(struct amdgpu_device *adev); + bool (*handle_poison_consumption)(struct amdgpu_device *adev); }; /* work flow |