diff options
| author | Hawking Zhang <[email protected]> | 2020-01-08 13:33:49 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-01-14 15:18:08 +0000 |
| commit | 1dd5ead2940903b2cf36f6725f1d6670abd6f14b (patch) | |
| tree | e21ca2ea2ec61f6fa13802050c1ff1996db7257e /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | |
| parent | drm/amdgpu: support error reporting for sdma ip block (diff) | |
| download | kernel-1dd5ead2940903b2cf36f6725f1d6670abd6f14b.tar.gz kernel-1dd5ead2940903b2cf36f6725f1d6670abd6f14b.zip | |
drm/amdgpu: add ras_late_init and ras_fini for sdma v4
move ras_late_init and ras_fini to sdma_ras_funcs table
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h index 3cdf12284ef9..485335267d78 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h @@ -51,6 +51,9 @@ struct amdgpu_sdma_instance { }; struct amdgpu_sdma_ras_funcs { + int (*ras_late_init)(struct amdgpu_device *adev, + void *ras_ih_info); + void (*ras_fini)(struct amdgpu_device *adev); int (*query_ras_error_count)(struct amdgpu_device *adev, uint32_t instance, void *ras_error_status); }; |
