diff options
| author | Lang Yu <[email protected]> | 2021-12-09 07:10:32 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-13 21:33:16 +0000 |
| commit | 34f3a4a98bd388ad6298c42dc9b00c72d3398330 (patch) | |
| tree | f690ee30a63e7e3a94e4c8bce3dcfdd8c79bb3df /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amdgpu: check df_funcs and its callback pointers (diff) | |
| download | kernel-34f3a4a98bd388ad6298c42dc9b00c72d3398330.tar.gz kernel-34f3a4a98bd388ad6298c42dc9b00c72d3398330.zip | |
drm/amdgpu: introduce a kind of halt state for amdgpu device
It is useful to maintain error context when debugging
SW/FW issues. Introduce amdgpu_device_halt() for this
purpose. It will bring hardware to a kind of halt state,
so that no one can touch it any more.
Compare to a simple hang, the system will keep stable
at least for SSH access. Then it should be trivial to
inspect the hardware state and see what's going on.
v2:
- Set adev->no_hw_access earlier to avoid potential crashes.(Christian)
Suggested-by: Christian Koenig <[email protected]>
Suggested-by: Andrey Grodzovsky <[email protected]>
Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Christian Koenig <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
