From d2f678d3bd6ca4c05fa5c652d6cdf4623543e576 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 28 Dec 2018 20:29:56 +0100 Subject: [PATCH] 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 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 0000000000000000000000000000000000000000..3b0e45a13ce79f150c963b248ed6e10efae084e0 GIT binary patch literal 4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