]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Set FRU bus for Aldebaran and Vega 20
authorLuben Tuikov <luben.tuikov@amd.com>
Fri, 4 Feb 2022 18:35:51 +0000 (13:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 22:59:53 +0000 (17:59 -0500)
commit62c87c132939d41555f8b049424f0e9840647257
tree7bf6eda8ac1bf19dd362555669b8cc1d153414ff
parentc541f25ac598052293c07b4852cbf684c6dc5bcc
drm/amdgpu: Set FRU bus for Aldebaran and Vega 20

The FRU and RAS EEPROMs share the same I2C bus on Aldebaran and Vega 20
ASICs. Set the FRU bus "pointer" to this single bus, as access to the FRU
is sought through that bus "pointer" and not through the RAS bus "pointer".

Cc: Roy Sun <Roy.Sun@amd.com>
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Fixes: 10fae67fc95ef3 ("drm/amd: Expose the FRU SMU I2C bus")
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c