diff options
| author | Xiang Liu <xiang.liu@amd.com> | 2026-08-04 22:50:18 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-06 12:45:50 -0400 |
| commit | 08bb824ae3fc73efd453cb303fdec5938ddc8aea (patch) | |
| tree | 49a376ce62916677f1abd478b1b96459da1c3cc4 /scripts | |
| parent | 7195f75e80759d4bb7a59bd79b7ff9153e63e498 (diff) | |
| download | linux-08bb824ae3fc73efd453cb303fdec5938ddc8aea.tar.gz linux-08bb824ae3fc73efd453cb303fdec5938ddc8aea.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
