diff options
| author | YiPeng Chai <[email protected]> | 2024-01-23 08:08:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-25 19:58:03 +0000 |
| commit | ed1e1e42fd68b073fc47aefe94d70364f3a43e97 (patch) | |
| tree | fc622944c918a7ca78cc722e0ef4b5ea6f4fdb3d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | drm/amd/display: "Enable IPS by default" (diff) | |
| download | kernel-ed1e1e42fd68b073fc47aefe94d70364f3a43e97.tar.gz kernel-ed1e1e42fd68b073fc47aefe94d70364f3a43e97.zip | |
drm/amdgpu: Support passing poison consumption ras block to SRIOV
Support passing poison consumption ras blocks
to SRIOV.
Signed-off-by: YiPeng Chai <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h index 1b49c007ff62..fa7be5f277b9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h @@ -88,7 +88,8 @@ struct amdgpu_virt_ops { int (*wait_reset)(struct amdgpu_device *adev); void (*trans_msg)(struct amdgpu_device *adev, enum idh_request req, u32 data1, u32 data2, u32 data3); - void (*ras_poison_handler)(struct amdgpu_device *adev); + void (*ras_poison_handler)(struct amdgpu_device *adev, + enum amdgpu_ras_block block); }; /* |
