summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2023-10-04 15:02:02 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-10-09 22:52:17 +0200
commitac6b1f275f17ba9873ec677979ba240d9d952413 (patch)
treee09b06854a28beb3733ce45648e33811e6358e11 /drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
parentdrm/amdgpu: Refactor FRU product information (diff)
downloadlinux-ac6b1f275f17ba9873ec677979ba240d9d952413.tar.xz
linux-ac6b1f275f17ba9873ec677979ba240d9d952413.zip
drm/amdgpu: Add more FRU field information
Add support to read Manufacturer Name and FRU File Id fields. Also add sysfs device attributes for external usage. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
index c99c74811c78..bc58dca18035 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
@@ -31,6 +31,8 @@ struct amdgpu_fru_info {
char product_number[20];
char product_name[AMDGPU_PRODUCT_NAME_LEN];
char serial[20];
+ char manufacturer_name[32];
+ char fru_id[32];
};
int amdgpu_fru_get_product_info(struct amdgpu_device *adev);