drm/amdgpu: Hook EEPROM table to RAS
authorTao Zhou <tao.zhou1@amd.com>
Thu, 15 Aug 2019 06:55:55 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:50:32 +0000 (17:50 -0500)
commit78ad00c9030cf872621ef4c14c20fbe7d34d2c06
tree57cc585699daffb0ed48f0623f091890ceedcf36
parent9dc23a6325fc3e99467dff46d53c78264d424bd3
drm/amdgpu: Hook EEPROM table to RAS

support eeprom records load and save for ras,
move EEPROM records storing to bad page reserving

v2: remove redundant check for con->eh_data

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c