Skip to content

Commit 3d0ffc6

Browse files
YiPeng Chaialexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 1cdd675 commit 3d0ffc6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@ static void nbio_v7_4_handle_ras_controller_intr_no_bifring(struct amdgpu_device
414414
/* ras_controller_int is dedicated for nbif ras error,
415415
* not the global interrupt for sync flood
416416
*/
417-
amdgpu_ras_set_fed(adev, true);
418-
amdgpu_ras_reset_gpu(adev);
417+
amdgpu_ras_global_ras_isr(adev);
419418
}
420419

421420
amdgpu_ras_error_data_fini(&err_data);

0 commit comments

Comments
 (0)