]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: save ring content before resetting the device
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 4 Feb 2026 12:11:47 +0000 (13:11 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 18:04:29 +0000 (14:04 -0400)
commiteea85914d15bfe3bdf9f8f80a479f0dee0aa7d73
treecd5cc4ff43bcd15866c84f5f4a0763ccd38fccca
parent48c33af0b62d8bbc67e4897438573f59da8ebe17
drm/amdgpu: save ring content before resetting the device

Otherwise the content might not be relevant.

When a coredump is generated the rings with outstanding fences
are saved and then printed to the final devcoredump from the
worker thread.
Since this requires memory allocation, the ring capture might
be missing from the generated devcoredump.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h