diff options
| author | Trigger Huang <[email protected]> | 2024-08-19 07:53:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-29 17:38:53 +0000 |
| commit | 6122f5c72e38a88eda13c7168e2ebbd3bd80b681 (patch) | |
| tree | 41b6959129a28506fbd9208b7d69dd9d14029e41 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amdgpu/gfx9: put queue resets behind a debug option (diff) | |
| download | kernel-6122f5c72e38a88eda13c7168e2ebbd3bd80b681.tar.gz kernel-6122f5c72e38a88eda13c7168e2ebbd3bd80b681.zip | |
drm/amdgpu: skip printing vram_lost if needed
The vm lost status can only be obtained after a GPU reset occurs, but
sometimes a dev core dump can be happened before GPU reset. So a new
argument is added to tell the dev core dump implementation whether to
skip printing the vram_lost status in the dump.
And this patch is also trying to decouple the core dump function from
the GPU reset function, by replacing the argument amdgpu_reset_context
with amdgpu_job to specify the context for core dump.
V2: Inform user if VRAM lost check is skipped so users don't assume
VRAM wasn't lost (Alex)
Signed-off-by: Trigger Huang <[email protected]>
Suggested-by: Alex Deucher <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
