]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: pull ras controller int status only when ras enabled
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 18 Nov 2019 10:17:12 +0000 (18:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 17:09:23 +0000 (12:09 -0500)
commit858a2bbad6b0666cdd50e356383b8918e010002c
tree7da49ae70d8707a66f3480b999f049bc9cd99497
parent5bdd0b72d6088428da4745b43684f6dfa4ab6062
drm/amdgpu: pull ras controller int status only when ras enabled

ras_controller_irq and athub_err_event_irq are only registered
when PCIE_BIF ras is marked as supported. as the result, the driver
also just need pull the int status in such case.

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