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@paulk.fr> Reviewed-on: https://review.coreboot.org/14734 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
536f5a7eb9
commit
0dcd41739f
|
@ -230,7 +230,7 @@ void pass_mode_info_to_payload(
|
||||||
edid.mode.va = config->display_yres;
|
edid.mode.va = config->display_yres;
|
||||||
edid.mode.ha = config->display_xres;
|
edid.mode.ha = config->display_xres;
|
||||||
edid_set_framebuffer_bits_per_pixel(&edid,
|
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 "
|
printk(BIOS_INFO, "%s: bytes_per_line: %d, bits_per_pixel: %d\n "
|
||||||
" x_res x y_res: %d x %d, size: %d\n",
|
" x_res x y_res: %d x %d, size: %d\n",
|
||||||
|
|
|
@ -230,7 +230,7 @@ void pass_mode_info_to_payload(
|
||||||
edid.mode.va = config->display_yres;
|
edid.mode.va = config->display_yres;
|
||||||
edid.mode.ha = config->display_xres;
|
edid.mode.ha = config->display_xres;
|
||||||
edid_set_framebuffer_bits_per_pixel(&edid,
|
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 "
|
printk(BIOS_INFO, "%s: bytes_per_line: %d, bits_per_pixel: %d\n "
|
||||||
" x_res x y_res: %d x %d, size: %d\n",
|
" x_res x y_res: %d x %d, size: %d\n",
|
||||||
|
|
Loading…
Reference in New Issue