diff options
| author | Mohammad Zafar Ziya <[email protected]> | 2022-05-07 04:02:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-10 21:53:13 +0000 |
| commit | 7e0357fcf86c4bb237e2fbde77588549fb5af24c (patch) | |
| tree | d65113e0c3b3ca70040f39a4b7586806e322375c /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | |
| parent | drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN for z10 (diff) | |
| download | kernel-7e0357fcf86c4bb237e2fbde77588549fb5af24c.tar.gz kernel-7e0357fcf86c4bb237e2fbde77588549fb5af24c.zip | |
drm/amdgpu/jpeg: add jpeg ras poison consumption handling
Add jpeg ras poison event callback and consumption handling
V2: Removed the default poison consumption cb handle
Signed-off-by: Mohammad Zafar Ziya <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Reviewed-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_jpeg.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h index b6c7fb00e05a..635dca59a70a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h @@ -69,4 +69,8 @@ void amdgpu_jpeg_ring_end_use(struct amdgpu_ring *ring); int amdgpu_jpeg_dec_ring_test_ring(struct amdgpu_ring *ring); int amdgpu_jpeg_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout); +int amdgpu_jpeg_process_poison_irq(struct amdgpu_device *adev, + struct amdgpu_irq_src *source, + struct amdgpu_iv_entry *entry); + #endif /*__AMDGPU_JPEG_H__*/ |
