From 97d697a8481ca0c348102f04165903e3205302ed Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 11 Jun 2018 11:37:06 -0700 Subject: gpu: nvgpu: increase bios size to 0x90000 bios size is currently set to 0x40000, but this could insufficient on some platforms Increase it to 0x90000 so that we have buffer of sufficient size to store bios content Change-Id: I510d10763b1fc6ba427680e44a55e3604f67e049 Signed-off-by: Deepak Nibade Reviewed-on: https://git-master.nvidia.com/r/1746578 Reviewed-by: svc-mobile-coverity Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/bios_gp106.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp106/bios_gp106.c') diff --git a/drivers/gpu/nvgpu/gp106/bios_gp106.c b/drivers/gpu/nvgpu/gp106/bios_gp106.c index b102eef2..e30baf38 100644 --- a/drivers/gpu/nvgpu/gp106/bios_gp106.c +++ b/drivers/gpu/nvgpu/gp106/bios_gp106.c @@ -41,7 +41,7 @@ #define BIOS_OVERLAY_NAME "bios-%04x.rom" #define BIOS_OVERLAY_NAME_FORMATTED "bios-xxxx.rom" #define ROM_FILE_PAYLOAD_OFFSET 0xa00 -#define BIOS_SIZE 0x40000 +#define BIOS_SIZE 0x90000 static void upload_code(struct gk20a *g, u32 dst, u8 *src, u32 size, u8 port, bool sec) -- cgit v1.2.2