Re: [U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-12 Thread Anatolij Gustschin
On Wed, 5 Aug 2015 17:17:31 +0200 Hans de Goede wrote: > Add support for making the visual area of the framebuffer smaller and > drawing a black border around it. This is intended for use with > overscanning monitors (esp. with composite video out), to avoid part > of the picture being invisible

Re: [U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-12 Thread Hans de Goede
Hi, On 08/12/2015 12:45 PM, Ian Campbell wrote: + sunxi_mode_set(mode, fb_dma_addr); /* > > * These are the only members of this structure that are used. All the > > * others are driver specific. There is nothing to decribe pitch or Pre-existing typo "describe". Ac

Re: [U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 14:44 +0200, Hans de Goede wrote: > [...big snip...] > I hope the above explanation helps, if not keep asking. It very much did, thanks. Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/

Re: [U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-12 Thread Hans de Goede
Hi, On 12-08-15 12:45, Ian Campbell wrote: On Wed, 2015-08-05 at 17:17 +0200, Hans de Goede wrote: > > sunxi_display.fb_size = > >> (mode->xres * mode->yres * 4 + 0xfff) & ~0xfff; +> > overscan_offset = (overscan_y * mode->xres + overscan_x) * 4; +> > /* We want to keep the fb_bas

Re: [U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-05 at 17:17 +0200, Hans de Goede wrote: > >> sunxi_display.fb_size = > >> > (mode->xres * mode->yres * 4 + 0xfff) & ~0xfff; > +>> overscan_offset = (overscan_y * mode->xres + overscan_x) * 4; > +>> /* We want to keep the fb_base for simplefb page aligned, whe

[U-Boot] [PATCH 3/3] sunxi: display: Add overscan correction

2015-08-05 Thread Hans de Goede
Add support for making the visual area of the framebuffer smaller and drawing a black border around it. This is intended for use with overscanning monitors (esp. with composite video out), to avoid part of the picture being invisible. Signed-off-by: Hans de Goede --- doc/README.video