drm/amd/ras: refactor ras cper to simplify adding new cper events

Restructure ras cper to improve extensibility, making it straightforward
to add and handle new cper event types.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
YiPeng Chai 2026-07-21 13:41:13 +08:00 • committed by Alex Deucher
commit e59969b611
6 changed files with 395 additions and 210 deletions