Skip to content
Snippets Groups Projects
Commit 44376eff authored by Andre Heider's avatar Andre Heider Committed by Anatolij Gustschin
Browse files

video: bcm2835: respect the pitch value

Depending on the firmware's video options [1] the active SDTV or
HDTV mode can yield a framebuffer with noncontiguous horizontal lines,
giving a messed up display, for both, u-boot and the loaded kernel.

Fix this by setting lcd_line_length to the pitch value of the configured
framebuffer.

[1] http://elinux.org/RPiconfig#Video_mode_options



Signed-off-by: default avatarAndre Heider <a.heider@gmail.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
parent cefa4717
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment