aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorLang Yu <[email protected]>2021-12-09 07:10:32 +0000
committerAlex Deucher <[email protected]>2021-12-13 21:33:16 +0000
commit34f3a4a98bd388ad6298c42dc9b00c72d3398330 (patch)
treef690ee30a63e7e3a94e4c8bce3dcfdd8c79bb3df /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/amdgpu: check df_funcs and its callback pointers (diff)
downloadkernel-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