summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2020-04-16 15:22:28 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-04-23 01:11:46 +0300
commit69d0c18dda2dae4cfbf73d4ffaa5aff6dc69894a (patch)
tree633afe3b77f9187d3a4bcbfc462c569cd727873d /drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
parent4e2fec3321d5c0a80b894c05eb2de51d06fa5c03 (diff)
downloadlinux-69d0c18dda2dae4cfbf73d4ffaa5aff6dc69894a.tar.xz
drm/amdgpu: Disable FRU read on Arcturus
Update the list with supported Arcturus chips, but disable for now until final list is confirmed. Ideally we can poll atombios for FRU support, instead of maintaining this list of chips, but this will enable serial number reading for supported ASICs for the time-being. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
index c7e55fe170bd..815c072ac4da 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
@@ -36,10 +36,11 @@ bool is_fru_eeprom_supported(struct amdgpu_device *adev)
/* TODO: Gaming SKUs don't have the FRU EEPROM.
* Use this hack to address hangs on modprobe on gaming SKUs
* until a proper solution can be implemented by only supporting
- * it on Arcturus, and the explicit chip IDs for VG20 Server cards
+ * the explicit chip IDs for VG20 Server cards
+ *
+ * TODO: Add list of supported Arcturus DIDs once confirmed
*/
- if ((adev->asic_type == CHIP_ARCTURUS) ||
- (adev->asic_type == CHIP_VEGA20 && adev->pdev->device == 0x66a0) ||
+ if ((adev->asic_type == CHIP_VEGA20 && adev->pdev->device == 0x66a0) ||
(adev->asic_type == CHIP_VEGA20 && adev->pdev->device == 0x66a1) ||
(adev->asic_type == CHIP_VEGA20 && adev->pdev->device == 0x66a4))
return true;