aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2022-04-19 03:04:19 +0000
committerAlex Deucher <[email protected]>2022-04-22 18:50:13 +0000
commit66f879496121c18c541125d04a444c62f3ca82ad (patch)
treec6e09057dd2e957248e22d9c4ba80b4784dd04d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parentdrm/amdgpu: add RAS poison creation handler (v2) (diff)
downloadkernel-66f879496121c18c541125d04a444c62f3ca82ad.tar.gz
kernel-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 <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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 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