coreboot-kgpe-d16/src/soc/nvidia/tegra210
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
..
include/soc tegra132/210: Remove memlayout_vboot2.ld 2016-02-12 21:58:34 +01:00
jdi_25x18_display tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lp0 nvidia/tegra210: lp0_resume: clear the MC_INTSTATUS if MC_INTMASK was 0 2015-11-05 17:40:11 +01:00
addressmap.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ape.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
arm_tf.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock_asm.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbmem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ccplex.c arm64: remove secmon 2015-11-07 03:28:06 +01:00
chip.h arm64: remove spin table support 2015-11-07 03:28:50 +01:00
clock.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu.c arm64: tegra132: tegra210: Remove old arm64/stage_entry.S 2015-11-17 21:31:20 +01:00
dc.c edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
dma.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dp.c edid: Use edid_mode struct to reduce redundancy 2015-08-28 06:42:03 +00:00
dsi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
flow_ctrl.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
funitcfg.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gic.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c6.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig timestamp: Remove HAS_PRECBMEM_TIMESTAMP_REGION Kconfig 2016-02-12 21:54:52 +01:00
Makefile.inc arm64: Remove SMP support 2015-11-07 03:29:14 +01:00
mipi-phy.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mipi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mipi_dsi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mmu_operations.c arm64: mmu: Make page table manipulation work across stages 2015-11-11 05:07:58 +01:00
monotonic_timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mtc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
padconfig.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
power.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ram_code.c
ramstage.c arm64: tegra132: tegra210: Remove old arm64/stage_entry.S 2015-11-17 21:31:20 +01:00
reset.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
romstage.c arm64: tegra132: tegra210: Remove old arm64/stage_entry.S 2015-11-17 21:31:20 +01:00
romstage_asm.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sdram.c t210: new sdram_lp0_save_params() function 2015-07-16 22:39:33 +02:00
sdram_lp0.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
soc.c arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
sor.c
spi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stack.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stage_entry.S arm64: tegra132: tegra210: Remove old arm64/stage_entry.S 2015-11-17 21:31:20 +01:00
uart.c soc/*: fix uart's regwidth specification in cbtables 2016-02-21 12:26:05 +01:00