coreboot/src
Julius Werner 6911219ccc edid: Add helper function to calculate bits-per-pixel dependent values
Coreboot and most payloads support three basic pixel widths for the
framebuffer. It assumes 32 by default, but several chipsets need to
override that value with whatever else they're supporting. Our struct
edid contains multiple convenience values that are directly derived from
this (and other properties), so changing the bits per pixel always
requires recalculating all those dependents in the chipset code. This
patch provides a small convenience wrapper that can be used to
consistently update the whole struct edid with a new pixel width
instead, so we no longer need to duplicate those calculations
everywhere.

BUG=None
TEST=Booted Oak in all three pixel widths (which it conveniently all
supports), confirmed that images looked good.

Change-Id: I5376dd4e28cf107ac2fba1dc418f5e1c5a2e2de6
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/14158
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2016-03-24 20:25:12 +01:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch armv7: Word-sized/half-word-sized memory operations for 32/16 bit read/write 2016-03-23 21:12:31 +01:00
commonlib arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
console arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
cpu arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
device device: Add i2c read/write register field API 2016-03-21 23:10:55 +01:00
drivers edid: Add helper function to calculate bits-per-pixel dependent values 2016-03-24 20:25:12 +01:00
ec Hide EC_GOOGLE_CHROMEEC_SPI_BUS. 2016-03-05 00:57:22 +01:00
include edid: Add helper function to calculate bits-per-pixel dependent values 2016-03-24 20:25:12 +01:00
lib edid: Add helper function to calculate bits-per-pixel dependent values 2016-03-24 20:25:12 +01:00
mainboard soc/apollolake: Add skeleton ACPI entry 2016-03-21 23:14:09 +01:00
northbridge nb/amd/mct_ddr3: Remove spurious Addl_Index variable in dqsTrainMaxRdLatency_SW_Fam15() 2016-03-23 22:14:00 +01:00
soc edid: Add helper function to calculate bits-per-pixel dependent values 2016-03-24 20:25:12 +01:00
southbridge southbridge/intel/ibexpeak: Use common gpio.c 2016-02-23 00:28:26 +01:00
superio roda/rk9: Remove #include early_serial.c from romstage 2016-03-08 13:41:03 +01:00
vendorcode vendorcode/intel/Kconfig: Add broadwell_de symbol to fix lint 2016-03-15 15:23:40 +01:00
Kconfig Kconfig: remove COMPRESS_PRERAM_STAGES option from x86 2016-03-11 16:52:38 +01:00