drm/amdgpu: add RAS poison consumption handler for AI SRIOV
authorTao Zhou <tao.zhou1@amd.com>
Fri, 29 Jul 2022 08:32:05 +0000 (16:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Dec 2022 17:18:19 +0000 (12:18 -0500)
commit8ede944da62958da4f206f121617324ef7a5e313
tree7cef7029c4adcf661ab382032d29956bad109555
parent331ea5d1bd64e896e9cf79099e68456275106e79
drm/amdgpu: add RAS poison consumption handler for AI SRIOV

Send message to host and host will handle it.

v2: split the patch into two parts, one is for mxgpu ai and another one
is for common poison consumption handler.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h