From d2f678d3bd6ca4c05fa5c652d6cdf4623543e576 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 28 Dec 2018 20:29:56 +0100 Subject: mb/google/slippy: Add a VBT for all variants The vbt was extracted from the option rom found on stock images. The vbt.bin is the same across all variants. The VBT has a modified BDB block 43, the 'Backlight info block' such that the inverter type for the panel in use is set to 2 (BDB_BACKLIGHT_TYPE_PWM) instead of 0 (BDB_BACKLIGHT_TYPE_NONE). This only seems to matter on Windows, as without it changing the backlight duty cycle does not work. Change-Id: I82c72c561e1058e0b77d80baf330b64f7c6b08e3 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/30487 Reviewed-by: Nico Huber Reviewed-by: Matt DeVillier Reviewed-by: Tristan Corrick Tested-by: build bot (Jenkins) --- src/mainboard/google/slippy/Kconfig | 7 +++++++ src/mainboard/google/slippy/data.vbt | Bin 0 -> 4399 bytes 2 files changed, 7 insertions(+) create mode 100644 src/mainboard/google/slippy/data.vbt (limited to 'src') diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig index 9d206dce12..ecc8aff5ba 100644 --- a/src/mainboard/google/slippy/Kconfig +++ b/src/mainboard/google/slippy/Kconfig @@ -15,6 +15,7 @@ config BOARD_GOOGLE_BASEBOARD_SLIPPY select MAINBOARD_HAS_TPM1 select INTEL_INT15 select MAINBOARD_HAS_LIBGFXINIT + select INTEL_GMA_HAVE_VBT if BOARD_GOOGLE_BASEBOARD_SLIPPY @@ -65,4 +66,10 @@ config VGA_BIOS_FILE string default "pci8086,0406.rom" +# Override the default variant behavior, since the data.vbt is the same +# for all variants. +config INTEL_GMA_VBT_FILE + default "src/mainboard/$(MAINBOARDDIR)/data.vbt" + + endif # BOARD_GOOGLE_BASEBOARD_SLIPPY diff --git a/src/mainboard/google/slippy/data.vbt b/src/mainboard/google/slippy/data.vbt new file mode 100644 index 0000000000..3b0e45a13c Binary files /dev/null and b/src/mainboard/google/slippy/data.vbt differ -- cgit v1.2.3