drm/amdgpu: Send applicable RMA CPERs at end of RAS init
authorKent Russell <kent.russell@amd.com>
Tue, 3 Feb 2026 14:48:23 +0000 (09:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Feb 2026 22:28:34 +0000 (17:28 -0500)
commit5028a24aa89a2c91b44964191ee8184e5f5c8cb2
tree21b98db8dff39a06d9beaa268adcc40893b3910b
parentf7afda7fcd169a9168695247d07ad94cf7b9798f
drm/amdgpu: Send applicable RMA CPERs at end of RAS init

Firmware and monitoring tools may not be ready to receive a CPER when we
read the bad pages, so send the CPERs at the end of RAS initialization
to ensure that the FW is ready to receive and process the CPER. This
removes the previous CPER submission that was added during bad page
load, and sends both in-band and out-of-band at the same time.

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h