summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2024-11-04 10:03:15 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-11-04 12:06:23 -0500
commit81db4eab2847094137a266616954e5f1c6e33575 (patch)
tree76235339218b830ba2854c28f92dca7a7560a73b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent047767ddc93666704026c79c01554597375beb50 (diff)
downloadlinux-81db4eab2847094137a266616954e5f1c6e33575.tar.gz
linux-81db4eab2847094137a266616954e5f1c6e33575.tar.bz2
linux-81db4eab2847094137a266616954e5f1c6e33575.zip
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 <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 1d9eda883bb8..b772299e1067 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -2605,6 +2605,7 @@ static void amdgpu_ras_do_recovery(struct work_struct *work)
reset_context.method = AMD_RESET_METHOD_NONE;
reset_context.reset_req_dev = adev;
reset_context.src = AMDGPU_RESET_SRC_RAS;
+ set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags);
/* Perform full reset in fatal error mode */
if (!amdgpu_ras_is_poison_mode_supported(ras->adev))