aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
diff options
context:
space:
mode:
authorLuben Tuikov <[email protected]>2021-03-10 19:02:04 +0000
committerAlex Deucher <[email protected]>2021-07-01 04:24:41 +0000
commit36b1a00d2bb496bc9ac010b42ba39413a27de7c8 (patch)
tree6c87aee34acb8e242a2a8b462a6882cce0b3fdf6 /drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
parentdrm/amd/pm: Simplify managed I2C transfer functions (diff)
downloadkernel-36b1a00d2bb496bc9ac010b42ba39413a27de7c8.tar.gz
kernel-36b1a00d2bb496bc9ac010b42ba39413a27de7c8.zip
drm/amdgpu: Fix width of I2C address
The I2C address is kept as a 16-bit quantity in the kernel. The I2C_TAR::I2C_TAR field is 10-bit wide. Fix the width of the I2C address for Vega20 from 8 bits to 16 bits to accommodate the full spectrum of I2C address space. Cc: Jean Delvare <[email protected]> Cc: Alexander Deucher <[email protected]> Cc: Andrey Grodzovsky <[email protected]> Cc: Lijo Lazar <[email protected]> Cc: Stanley Yang <[email protected]> Cc: Hawking Zhang <[email protected]> Signed-off-by: Luben Tuikov <[email protected]> Acked-by: Alexander Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c')
0 files changed, 0 insertions, 0 deletions