drm/amdgpu: poll ras_controller_irq and err_event_athub_irq status
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 5 Jun 2019 06:40:57 +0000 (14:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:11:04 +0000 (17:11 -0500)
commita344db8e5e3c312928fd02bfb768ae689107f19b
tree064a574aa1f4a7a3805eca6483c85901f796a5f8
parent4e644fffb5809d260bb7adcc49cb87d79b88ba3d
drm/amdgpu: poll ras_controller_irq and err_event_athub_irq status

For the hardware that can not enable BIF ring for IH cookies for both
ras_controller_irq and err_event_athub_irq, the driver has to poll the
status register in irq handling and ack the hardware properly when there
is interrupt triggered

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c