[coreboot-gerrit] New patch to review for coreboot: tegra124: Align the framebuffer's bytes-per-line to 64
Paul Kocialkowski (contact@paulk.fr)
gerrit at coreboot.org
Sun May 1 18:55:25 CEST 2016
Paul Kocialkowski (contact at paulk.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14564
-gerrit
commit eca47ebe7a000f0cf441d49cea2c5bde3f5b357b
Author: Paul Kocialkowski <contact at paulk.fr>
Date: Sun May 1 18:38:04 2016 +0200
tegra124: Align the framebuffer's bytes-per-line to 64
It turns out that tegra124 needs the framebuffer's bytes-per-line to be
aligned to 64 for proper display. This behaviour was default before
moving to edid_set_framebuffer_bits_per_pixel.
This fixes display on nyan_big.
Change-Id: Ie81b395fca23f3648ea7cd1df51152faea864c9a
Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
---
src/soc/nvidia/tegra124/display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/soc/nvidia/tegra124/display.c b/src/soc/nvidia/tegra124/display.c
index bb96831..0fc15cb 100644
--- a/src/soc/nvidia/tegra124/display.c
+++ b/src/soc/nvidia/tegra124/display.c
@@ -334,6 +334,6 @@ void display_startup(device_t dev)
edid.mode.va = config->yres;
edid.mode.ha = config->xres;
edid_set_framebuffer_bits_per_pixel(&edid,
- config->framebuffer_bits_per_pixel, 0);
+ config->framebuffer_bits_per_pixel, 64);
set_vbe_mode_info_valid(&edid, (uintptr_t)(framebuffer_base_mb*MiB));
}
More information about the coreboot-gerrit
mailing list