drm/amdgpu: Reduce redundant gpu resets on nbio v7.4
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 22 Oct 2024 05:42:38 +0000 (13:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Oct 2024 22:04:34 +0000 (18:04 -0400)
commit3d0ffc64188c0573fd3b1b2ba75eb1b35274fc7c
tree68eaeeffbe4a6ee2f38bde7cf8822bc252c35dea
parent1cdd67510e54e3832f14a885dbf5858584558650
drm/amdgpu: Reduce redundant gpu resets on nbio v7.4

On nbio v7.4, ras controller interrupt and athub
interrupt are generated after injecting UE to PCIE,
but gpu reset only needs to be triggered once.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c