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>
Wed, 31 May 2023 21:33:56 +0000 (17:33 -0400)
commitce784421a3e15fd89d5fc1b9da7d846dd8309661
treeeab4ce2710f41b0d8e00fc599e3d393b5de70c65
parent020c76d983151f6f6c9493a3bbe83c1ec927617a
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