Re: [U-Boot] [PATCH v3 2/2] video: bcm2835: respect the pitch value
On Sat, 9 Nov 2013 11:07:53 +0100 Anatolij Gustschin wrote: > From: Andre Heider > > 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: Andre Heider > Cc: Stephen Warren > Signed-off-by: Anatolij Gustschin > --- > Changes in v3: > - set lcd_line_length by driver specific lcd_get_size() since >setting it in lcd_enable() is not correct. This patch version >depends on patch http://patchwork.ozlabs.org/patch/289957 >Please test these both patches on rpi_b, thanks! > > drivers/video/bcm2835.c | 11 +++ > 1 file changed, 11 insertions(+) applied to u-boot-video/master, thanks! Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v3 2/2] video: bcm2835: respect the pitch value
Hi Andre, On Sat, 9 Nov 2013 13:25:58 +0100 Andre Heider wrote: ... > I just tested these on my rpi, and confirm that it still works. Thanks for testing! Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v3 2/2] video: bcm2835: respect the pitch value
On 11/09/2013 03:07 AM, Anatolij Gustschin wrote: > From: Andre Heider > > 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 Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v3 2/2] video: bcm2835: respect the pitch value
Hi Anatolij, On Sat, Nov 09, 2013 at 11:07:53AM +0100, Anatolij Gustschin wrote: > From: Andre Heider > > 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: Andre Heider > Cc: Stephen Warren > Signed-off-by: Anatolij Gustschin > --- > Changes in v3: > - set lcd_line_length by driver specific lcd_get_size() since >setting it in lcd_enable() is not correct. This patch version >depends on patch http://patchwork.ozlabs.org/patch/289957 >Please test these both patches on rpi_b, thanks! I just tested these on my rpi, and confirm that it still works. Thanks, Andre ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot