summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorXiang Liu <xiang.liu@amd.com>2026-09-10 22:35:03 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-09-17 11:38:29 -0400
commit061ce2b5f92214d8d867ae4ec3b24e211ff20664 (patch)
tree6eb81719adea70b0bf5f9788dea21212312d0fa8 /scripts/basic/split-include.c
parent387550e53e1405f1f960b62b22f8783db17c8e1d (diff)
downloadlinux-061ce2b5f92214d8d867ae4ec3b24e211ff20664.tar.gz
linux-061ce2b5f92214d8d867ae4ec3b24e211ff20664.zip
drm/amd/ras: apply the MCA debug mode on every RAS resume
amdgpu_ras_late_init() sends the MCA configuration to PMFW, but it runs before RAS is ready on a device that still needs a hive reset, so the request is dropped and CE polling stays disabled. A reset loses the setting too, since PMFW is reloaded and nothing programs it again. The request is a single SMU message and does not depend on the RAS block being up, so amdgpu_ras_mgr_set_debug_mode() no longer requires it. Send it from amdgpu_ras_resume(), which covers modprobe, resume from suspend, GPU reset and reset on init, and drop it from amdgpu_ras_late_init(). 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/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions