Skip to content

Commit 81db4ea

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amdgpu: Skip IP coredump for RAS errors
For RAS errors, source of error is known. Skip the core dump of IP states. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 047767d commit 81db4ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,6 +2605,7 @@ static void amdgpu_ras_do_recovery(struct work_struct *work)
26052605
reset_context.method = AMD_RESET_METHOD_NONE;
26062606
reset_context.reset_req_dev = adev;
26072607
reset_context.src = AMDGPU_RESET_SRC_RAS;
2608+
set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags);
26082609

26092610
/* Perform full reset in fatal error mode */
26102611
if (!amdgpu_ras_is_poison_mode_supported(ras->adev))

0 commit comments

Comments
 (0)