aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-12-03 09:11:31 +0000
committerAlex Deucher <[email protected]>2024-12-10 15:26:51 +0000
commitfd0c6bd82d19c218e8421db5a76db268d24583a8 (patch)
tree087a36df7b1f323c7d7e2f93f63b9cbed2319e28
parentdrm/amdgpu: correct the calculation of RAS bad page (diff)
downloadkernel-fd0c6bd82d19c218e8421db5a76db268d24583a8.tar.gz
kernel-fd0c6bd82d19c218e8421db5a76db268d24583a8.zip
drm/amdgpu: Increase FRU File Id buffer size
Some boards use longer File Ids. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
index bc58dca18035..98f3196599ef 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.h
@@ -32,7 +32,7 @@ struct amdgpu_fru_info {
char product_name[AMDGPU_PRODUCT_NAME_LEN];
char serial[20];
char manufacturer_name[32];
- char fru_id[32];
+ char fru_id[50];
};
int amdgpu_fru_get_product_info(struct amdgpu_device *adev);