]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Allow non-standard EEPROM I2C address
authorLuben Tuikov <luben.tuikov@amd.com>
Tue, 15 Nov 2022 01:48:40 +0000 (20:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Nov 2022 23:06:58 +0000 (18:06 -0500)
commit6a4a745c42a23c5ffca0f0c76ca2ed2593b9389b
tree653372319973fc36f5bad852bf7da64039294c4d
parentd4cbff464d2932a71d7d3b7d17ffef7700b58edd
drm/amdgpu: Allow non-standard EEPROM I2C address

Allow non-standard EEPROM I2C address of 0x58, where the Device Type
Identifier is 1011b, where we form 1011000b = 0x58 I2C address, as on some
ASICs the FRU data lives there.

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_eeprom.c