drm/amdgpu: Access the FRU on Aldebaran
authorKent Russell <kent.russell@amd.com>
Mon, 13 Dec 2021 18:59:43 +0000 (13:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:43 +0000 (08:54 -0500)
commit67416bf85345b6990fe2adc42ab082bfefc578bd
treef70e550626c55daea49369c832afc5d81789fdcc
parentde0af8a65ea3c56e85517d23316679eacddb7a45
drm/amdgpu: Access the FRU on Aldebaran

This is supported, although the offset is different from VG20, so fix
that with a variable and enable getting the product name and serial
number from the FRU. Do this for all SKUs since all SKUs have the FRU

Signed-off-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_fru_eeprom.c