linux/drivers/gpu/drm/amd/ras/ras_mgr
Xiang Liu 08bb824ae3 drm/amd/ras: track debug mode for query mode
The RAS manager uses the rascore debug mode setting to control whether
MCA data is read directly or collected through PMFW MCA polling and
ClearMcaOnRead. Track that debug mode state in ras_mgr so
amdgpu_ras_get_error_query_mode() can classify queries as direct or
firmware-backed.

Limit the PMFW polling wait in recovery to firmware-backed MODE1 fatal
recovery so other reset paths, such as MODE2, do not pay the delay
unnecessarily.

Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-06 12:45:50 -04:00
..
amdgpu_ras_cmd.c drm/amdgpu/ras: use vram_base_offset for UMC inject address 2026-07-28 19:17:31 -04:00
amdgpu_ras_cmd.h drm/amd/ras: Update function and remove redundant code 2025-10-20 18:27:37 -04:00
amdgpu_ras_eeprom_i2c.c drm/amd/ras: rename core ras_* files and update include guards 2026-08-06 09:25:58 -04:00
amdgpu_ras_eeprom_i2c.h drm/amd/ras: Add amdgpu eeprom i2c configuration function 2025-10-13 14:14:30 -04:00
amdgpu_ras_mgr.c drm/amd/ras: track debug mode for query mode 2026-08-06 12:45:50 -04:00
amdgpu_ras_mgr.h drm/amd/ras: track debug mode for query mode 2026-08-06 12:45:50 -04:00
amdgpu_ras_mp1_v13_0.c drm/amd/ras: add set_debug_mode function for uniras 2026-07-01 11:41:06 -04:00
amdgpu_ras_mp1_v13_0.h
amdgpu_ras_nbio_v7_9.c
amdgpu_ras_nbio_v7_9.h
amdgpu_ras_process.c drm/amd/ras: Pass ras poison consumption message to sriov host 2026-03-17 10:37:51 -04:00
amdgpu_ras_process.h drm/amdgpu: suspend ras module before gpu reset 2025-11-04 11:53:59 -05:00
amdgpu_ras_sys.c drm/amd/ras: add device lost check to early exit psp cmd wait loop 2026-07-28 19:17:32 -04:00
amdgpu_virt_ras_cmd.c drm/amd/ras: snapshot remote cmd header to fix double-fetch 2026-06-03 13:50:34 -04:00
amdgpu_virt_ras_cmd.h drm/amd/ras: Add function to convert retired address 2026-02-25 16:56:12 -05:00
Makefile drm/amd/ras: sriov supports handling VF ras commands. 2025-12-08 13:56:33 -05:00
ras_sys.h drm/amdgpu/ras: Add address sanity check for uniras 2026-06-17 16:14:21 -04:00