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>
Wed, 31 May 2023 21:33:38 +0000 (17:33 -0400)
commitac1d8e2f074d9bffc2d368ad0720cdbb4c938fa5
treed89c6ca54f4f86c794f34e807a45b10750acbc6c
parent8e1b45c578b799510f9a01a9745a737e74f43cb1
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