Skip to contentSkip to conversation

drm/amdgpu: enlarge the VBIOS binary size limit

PATCH New Alex Deucher 1 participant 1 message Jan 10, 2025

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: enlarge the VBIOS binary size limit

From: Shiwu Zhang <[email protected]>

Some chips have a larger VBIOS file so raise the size limit to support the flashing tool.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1 -1
index a441dffca45b1..d237d46088bd0 100644
@@ -44,7 +44,7 @@
 #include "amdgpu_securedisplay.h"
 #include "amdgpu_atomfirmware.h"
 
-#define AMD_VBIOS_FILE_MAX_SIZE_B      (1024*1024*3)
+#define AMD_VBIOS_FILE_MAX_SIZE_B      (1024*1024*16)
 
 static int psp_load_smu_fw(struct psp_context *psp);
 static int psp_rap_terminate(struct psp_context *psp);
Signature · 1 line
2.47.1