diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2023-10-04 15:02:02 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-09 22:52:17 +0200 |
commit | ac6b1f275f17ba9873ec677979ba240d9d952413 (patch) | |
tree | e09b06854a28beb3733ce45648e33811e6358e11 /drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h | |
parent | drm/amdgpu: Refactor FRU product information (diff) | |
download | linux-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.h | 2 |
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); |