drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON
authorHoratio Zhang <Hongkun.Zhang@amd.com>
Tue, 16 May 2023 01:45:51 +0000 (21:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:41:11 +0000 (10:41 -0400)
commit2ecf927b1730a4addba7ef775f433046fbcc423b
tree1586b31898c83f4038dc38229bfb66d675b59854
parentc77b3608b8ec79a33ac36a9d281e0395a3343d6e
drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON

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

v2:
- Separate ras irq from vcn 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_vcn.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h