diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-03-01 17:35:35 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-06 15:24:50 -0500 |
commit | 5e592956cc36abd2e568245dcf12b36c85d9462d (patch) | |
tree | 99210f1dd01511a268eeffbc05343f2f2326d161 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h | |
parent | 2bdebcb1e49d50be314b611a0af0cc02817e5d7d (diff) | |
download | linux-5e592956cc36abd2e568245dcf12b36c85d9462d.tar.gz linux-5e592956cc36abd2e568245dcf12b36c85d9462d.tar.bz2 linux-5e592956cc36abd2e568245dcf12b36c85d9462d.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h index 19899f6b9b2b..60522963aaca 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h @@ -97,6 +97,7 @@ struct amdgpu_coredump_info { struct amdgpu_task_info reset_task_info; struct timespec64 reset_time; bool reset_vram_lost; + struct amdgpu_ring *ring; }; #endif |