[coreboot-gerrit] Patch set updated for coreboot: tegra132, tegra210: Align the framebuffer's bytes-per-line to 64

Paul Kocialkowski (contact@paulk.fr) gerrit at coreboot.org
Sat May 7 18:42:10 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/14734

-gerrit

commit 0dd05e3bf18153bfd427e2fd5407d6e2728ac4ae
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Sat May 7 14:30:24 2016 +0200

    tegra132, tegra210: Align the framebuffer's bytes-per-line to 64
    
    It turns out that tegra132 and tegra 210 need 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.
    
    Change-Id: I46dadcf36e1c50e9649121ee6fa9cdf6134a531e
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
---
 src/soc/nvidia/tegra132/dc.c | 2 +-
 src/soc/nvidia/tegra210/dc.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/soc/nvidia/tegra132/dc.c b/src/soc/nvidia/tegra132/dc.c
index 3ae25bc..d762d15 100644
--- a/src/soc/nvidia/tegra132/dc.c
+++ b/src/soc/nvidia/tegra132/dc.c
@@ -230,7 +230,7 @@ void pass_mode_info_to_payload(
 	edid.mode.va = config->display_yres;
 	edid.mode.ha = config->display_xres;
 	edid_set_framebuffer_bits_per_pixel(&edid,
-		config->framebuffer_bits_per_pixel, 0);
+		config->framebuffer_bits_per_pixel, 64);
 
 	printk(BIOS_INFO, "%s: bytes_per_line: %d, bits_per_pixel: %d\n "
 			"               x_res x y_res: %d x %d, size: %d\n",
diff --git a/src/soc/nvidia/tegra210/dc.c b/src/soc/nvidia/tegra210/dc.c
index 88e599d..bb24a13 100644
--- a/src/soc/nvidia/tegra210/dc.c
+++ b/src/soc/nvidia/tegra210/dc.c
@@ -230,7 +230,7 @@ void pass_mode_info_to_payload(
 	edid.mode.va = config->display_yres;
 	edid.mode.ha = config->display_xres;
 	edid_set_framebuffer_bits_per_pixel(&edid,
-		config->framebuffer_bits_per_pixel, 0);
+		config->framebuffer_bits_per_pixel, 64);
 
 	printk(BIOS_INFO, "%s: bytes_per_line: %d, bits_per_pixel: %d\n "
 			"               x_res x y_res: %d x %d, size: %d\n",



More information about the coreboot-gerrit mailing list