tegra124: Actually align the framebuffer's bytes-per-line to 32
The previous change with that intent aligned the framebuffer's
bytes-per-line to 64 instead of 32:
commit 8957dd6b52
Author: Paul Kocialkowski <contact@paulk.fr>
Date: Sun May 1 18:38:04 2016 +0200
tegra124: Align the framebuffer's bytes-per-line to 32
Change-Id: I88bba2ff355a51d42cab6a869ec1e9c534160b9c
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-on: https://review.coreboot.org/14816
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
6dfe25dc8b
commit
bc141debb5
|
@ -334,6 +334,6 @@ void display_startup(device_t dev)
|
||||||
edid.mode.va = config->yres;
|
edid.mode.va = config->yres;
|
||||||
edid.mode.ha = config->xres;
|
edid.mode.ha = config->xres;
|
||||||
edid_set_framebuffer_bits_per_pixel(&edid,
|
edid_set_framebuffer_bits_per_pixel(&edid,
|
||||||
config->framebuffer_bits_per_pixel, 64);
|
config->framebuffer_bits_per_pixel, 32);
|
||||||
set_vbe_mode_info_valid(&edid, (uintptr_t)(framebuffer_base_mb*MiB));
|
set_vbe_mode_info_valid(&edid, (uintptr_t)(framebuffer_base_mb*MiB));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue