]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Process any VBIOS RAS EEPROM address
authorLuben Tuikov <luben.tuikov@amd.com>
Wed, 25 Aug 2021 17:50:20 +0000 (13:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Aug 2021 18:59:33 +0000 (14:59 -0400)
commit3e6b4c19e416199a9a088d5c984733df15724b76
tree808acc2cd2a239683014b49b9b107bfc3fc1c86a
parent0080a7a61042ff966db2d5f6ae45fd58d0ed3148
drm/amdgpu: Process any VBIOS RAS EEPROM address

We can now process any RAS EEPROM address from
VBIOS. Generalize so as to compute the top three
bits of the 19-bit EEPROM address, from any byte
returned as the "i2c address" from VBIOS.

Cc: John Clements <john.clements@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c