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 <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 1cdd675 commit 3d0ffc6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)