OSDN Git Service

drm/amdgpu: Add support for RAS table at 0x40000
authorLuben Tuikov <luben.tuikov@amd.com>
Tue, 15 Nov 2022 05:36:03 +0000 (00:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Nov 2022 23:07:33 +0000 (18:07 -0500)
commit64a3dbb06ad88d89a0958ccafc4f01611657f641
treec5fb8feab30b56c08d606d28aca0b3b4f635d39b
parent0dbf2c56262532fbd498f590c91c4085413b8829
drm/amdgpu: Add support for RAS table at 0x40000

Add support for RAS table at I2C EEPROM address of 0x40000, since on some
ASICs it is not at 0, but at 0x40000.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Kent Russell <kent.russell@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Tested-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Kent Russell <kent.russell@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