summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorLuben Tuikov <luben.tuikov@amd.com>2021-03-10 14:02:04 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-07-01 00:24:41 -0400
commit36b1a00d2bb496bc9ac010b42ba39413a27de7c8 (patch)
tree6c87aee34acb8e242a2a8b462a6882cce0b3fdf6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentebe57d0c8ecc7279c81d75746385595bc9eb5fca (diff)
downloadlwn-36b1a00d2bb496bc9ac010b42ba39413a27de7c8.tar.gz
lwn-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 <jdelvare@suse.de> Cc: Alexander Deucher <Alexander.Deucher@amd.com> Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Cc: Lijo Lazar <Lijo.Lazar@amd.com> Cc: Stanley Yang <Stanley.Yang@amd.com> Cc: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Acked-by: Alexander Deucher <Alexander.Deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions