drm/amdgpu: Disable FRU EEPROM access for SRIOV
authorshaoyunl <shaoyun.liu@amd.com>
Thu, 20 Jan 2022 15:39:41 +0000 (10:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 23:00:32 +0000 (18:00 -0500)
commit901abf367d3eecd54f21829ced48c20f53c74c57
tree2a3ab3e30b9e3921a93d982f1126282ac00a94ea
parenta357dca964e0c77c479075dd65ef86199078d82f
drm/amdgpu: Disable FRU EEPROM access for SRIOV

VF acces the EEPROM is blocked by security policy, we might need other way
to get SKUs info for VF

v2: squash in compilation fix from Luben

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