summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorLuben Tuikov <luben.tuikov@amd.com>2022-11-07 12:38:03 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-11-09 17:41:42 -0500
commit3b8164f8084ff7888ed24970efa230ff5d36eda8 (patch)
tree814b9a0cb59bb09eab572b67ea4eb82e2a59c1ff /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentda858deab88eb561f2196bc99b6dbd2320e56456 (diff)
drm/amdgpu: Decouple RAS EEPROM addresses from chips
Abstract RAS I2C EEPROM addresses from chip names, and set their macro definition names to the address they set, not the chip they attach to. Since most chips either use I2C EEPROM address 0 or 40000h for the RAS table start offset, this leaves us with only two macro definitions as opposed to five, and removes the redundancy of four. Cc: Candice Li <candice.li@amd.com> Cc: Tao Zhou <tao.zhou1@amd.com> Cc: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions