drm/amdgpu: add ring timeout information in devcoredump
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 1 Mar 2024 12:05:35 +0000 (17:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Mar 2024 20:24:50 +0000 (15:24 -0500)
commit5e592956cc36abd2e568245dcf12b36c85d9462d
tree99210f1dd01511a268eeffbc05343f2f2326d161
parent2bdebcb1e49d50be314b611a0af0cc02817e5d7d
drm/amdgpu: add ring timeout information in devcoredump

Add ring timeout related information in the amdgpu
devcoredump file for debugging purposes.

During the gpu recovery process the registered call
is triggered and add the debug information in data
file created by devcoredump framework under the
directory /sys/class/devcoredump/devcdx/

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h