drm/amd/ras: add helper to convert aca bank to eeprom record

add helper to convert aca bank to eeprom record.

v2:
  Correct incorrect return values.

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-04-13 10:04:54 +08:00 • committed by Alex Deucher
commit 8db689ce4e
3 changed files with 22 additions and 0 deletions