]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf242a6b72d3619a6de10e7b9885b9471b0112864
tree064a574aa1f4a7a3805eca6483c85901f796a5f8
parent8a1da6badca95c5a32c0d170baebc882364ee0cf
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