coreboot/src
Julius Werner 2b6db9738e edid: Make framebuffer row alignment configurable
Our EDID code had always been aligning the framebuffer's
bytes_per_line (and x_resolution dependent on that) to 64. It turns out
that this is a controller-dependent parameter that seems to only really
be necessary for Intel chipsets, and commit 6911219cc (edid: Add helper
function to calculate bits-per-pixel dependent values) probably actually
broke this for some other controllers by applying the alignment too
widely.

This patch makes it explicitly configurable and depends the default on
ARCH_X86 (which seems to be the simplest and least intrusive way to make
it fit most cases for now... boards where this doesn't apply can still
override it manually by calling edid_set_framebuffer_bits_per_pixel()
again).

Change-Id: I1c565a72826fc5ddfbb1ae4a5db5e9063b761455
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/14267
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2016-04-07 20:46:38 +02:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch arch/power8: Position bootblock start at reset vector 2016-04-04 20:45:19 +02: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 src/: Fix lint style-labels warnings 2016-03-31 23:05:32 +02:00
device device: Add i2c read/write register field API 2016-03-21 23:10:55 +01:00
drivers edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
ec Hide EC_GOOGLE_CHROMEEC_SPI_BUS. 2016-03-05 00:57:22 +01:00
include edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
lib edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
mainboard src/mainboard: Disable power_on_after_fail CMOS option for laptops 2016-04-06 12:10:59 +02:00
northbridge nb/intel/sandybridge/raminit: die in toplevel function 2016-04-05 22:54:30 +02:00
soc edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
southbridge sb/amd/sb700: Enable reset on sync flood 2016-04-07 18:56:33 +02:00
superio superio/nuvoton: Use official spelling of Nuvoton in CHIP_NAME 2016-04-02 04:10:07 +02:00
vendorcode chromeos: Fix adding a bmpblk to GBB 2016-04-05 13:37:11 +02:00
Kconfig Kconfig: remove COMPRESS_PRERAM_STAGES option from x86 2016-03-11 16:52:38 +01:00