]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use SKU instead of DID for FRU check v2
authorKent Russell <kent.russell@amd.com>
Mon, 28 Sep 2020 18:20:05 +0000 (14:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2020 20:14:09 +0000 (16:14 -0400)
commit5fba761ad6da0b46333da6cd35b24b616ebc6ad3
treeb622188544ecfccb9875cfdd57c1046b2fab7a4c
parent47aa9bfba16236a0483c77117db39739ee3610c1
drm/amdgpu: Use SKU instead of DID for FRU check v2

The VG20 DIDs 66a0, 66a1 and 66a4 are used for various SKUs that may or may
not have the FRU EEPROM on it. Parse the VBIOS to check for server SKU
variants (D131 or D134) until a more general solution can be determined.

v2: Remove string-based logic, correct the VBIOS string comment

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c