aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorTrigger Huang <Trigger.Huang@amd.com>2024-08-19 15:53:22 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-08-29 13:38:53 -0400
commit6122f5c72e38a88eda13c7168e2ebbd3bd80b681 (patch)
tree41b6959129a28506fbd9208b7d69dd9d14029e41 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parent7c1a2d8aba6cadde0cc542b2d805edc0be667e79 (diff)
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 <Trigger.Huang@amd.com> Suggested-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions