summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSrinidhi N Kaushik <srinidhi.n.kaushik@intel.com>2020-10-13 18:33:04 -0700
committerDuncan Laurie <dlaurie@chromium.org>2020-10-21 18:36:08 +0000
commitcf5d58328fe004d967466be42de62d6bab4c3133 (patch)
treec22fe47bffa47a83de301d3d81e8611a9f09466b /src
parent3e69c0a07787d9f55915181c39ba4dbaeb258a05 (diff)
drivers/intel/gma: Increase vbt_data size
With TGL FSP v3373 onwards vbt binary size changed from 8KiB to 9KiB. Due to which cbfsf_decompression_info check failed when trying to load vbt binary from cbfs because vbt decompressed_size was greater than vbt_data size. This caused Graphics init and fw screen issues. Increase the vbt_data to 9KiB to accommodate new vbt binary. BUG=b:170656067 BRANCH=none TEST=build and boot delbin and verify fw screen is loaded Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com> Change-Id: If6ffce028f9e8bc14596bbc0a3f1476843a9334e Reviewed-on: https://review.coreboot.org/c/coreboot/+/46374 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dossym Nurmukhanov <dossym@google.com> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/gma/opregion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c
index 7682af199b..8f1d2e6373 100644
--- a/src/drivers/intel/gma/opregion.c
+++ b/src/drivers/intel/gma/opregion.c
@@ -19,7 +19,7 @@ const char *mainboard_vbt_filename(void)
return "vbt.bin";
}
-static char vbt_data[8 * KiB];
+static char vbt_data[9 * KiB];
static size_t vbt_data_sz;
void *locate_vbt(size_t *vbt_size)