drm/amd/ras: Sync bad page count on EEPROM update

The rascore EEPROM runtime append path updates the saved bad page
count in memory and EEPROM. Keep the SMU bad page count in sync when
the EEPROM header is updated so firmware sees the latest count from
the runtime threshold path.

Notify UPDATE_BAD_PAGE_NUM after computing the rascore UMC bad page
count.

Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Xiang Liu 2026-06-12 15:02:12 +08:00 • committed by Alex Deucher
commit 0cfc1e9faf