drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON
authorHoratio Zhang <Hongkun.Zhang@amd.com>
Tue, 16 May 2023 02:57:19 +0000 (22:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:41:23 +0000 (10:41 -0400)
commit18dad20c3dcbd7789f3d07056cd78394c8278a75
treeca701ebfc947085ab25a0f720c168e6788f07f66
parent66a11ecbdebbc8ab29a4076df0b95f0bfd61b1c5
drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON

Separate jpegbRAS poison consumption handling from the instance irq, and
register dedicated ras_poison_irq src and funcs for UVD_POISON.

v2:
- Separate ras irq from jpeg instance irq
- Improve the subject and code comments

v3:
- Split the patch into three parts
- Improve the code comments

Suggested-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h