diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2019-05-30 11:01:26 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-27 08:17:14 -0500 |
commit | 64f55e629237e4752db18df4d6969a69e3f4835a (patch) | |
tree | e611c2ba88403e9cb672ee713047035c75133a03 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |
parent | 250af743c044c342916a36517187e6e42a281efe (diff) | |
download | linux-64f55e629237e4752db18df4d6969a69e3f4835a.tar.gz linux-64f55e629237e4752db18df4d6969a69e3f4835a.tar.bz2 linux-64f55e629237e4752db18df4d6969a69e3f4835a.zip |
drm/amdgpu: Add RAS EEPROM table.
Add RAS EEPROM table manager to eanble RAS errors to be stored
upon appearance and retrived on driver load.
v2: Fix some prints.
v3:
Fix checksum calculation.
Make table record and header structs packed to do correct byte value sum.
Fix record crossing EEPROM page boundry.
v4:
Fix byte sum val calculation for record - look at sizeof(record).
Fix some style comments.
v5: Add description to EEPROM_TABLE_RECORD_SIZE and syntax fixes.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Luben Tuikov <Luben.Tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions