[coreboot-gerrit] Patch set updated for coreboot: tegra124: Align the framebuffer's bytes-per-line to 32

Paul Kocialkowski (contact@paulk.fr) gerrit at coreboot.org
Sat May 7 14:58:07 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 d10523bf85474f0af6f78873367bef1e78d7fd87
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 32
    
    It turns out that tegra124 needs the framebuffer's bytes-per-line to be
    aligned to 32 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