diff options
| author | Lijo Lazar <[email protected]> | 2024-05-31 12:28:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-14 20:17:12 +0000 |
| commit | 3a86fdc422c926eab7d42a8194eaacf05e1d699e (patch) | |
| tree | bb2c6d48cb0c89395e1c34636b9e5f53376eb28b /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
| parent | drm/amdgpu: refine sdma firmware loading (diff) | |
| download | kernel-3a86fdc422c926eab7d42a8194eaacf05e1d699e.tar.gz kernel-3a86fdc422c926eab7d42a8194eaacf05e1d699e.zip | |
drm/amdgpu: Skip coredump during resets for debug
Skip scheduling coredump when gpu reset is intentionally triggered
through debugfs.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index dff7033f2026..3f492277d7d3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -982,6 +982,7 @@ static void amdgpu_debugfs_reset_work(struct work_struct *work) reset_context.reset_req_dev = adev; reset_context.src = AMDGPU_RESET_SRC_USER; set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); + set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags); amdgpu_device_gpu_recover(adev, NULL, &reset_context); } |
