]> git.sur5r.net Git - u-boot/commit
video: Skip bitmaps which do not fit into the screen in cfb_console
authorVadim Bendebury <vbendeb@chromium.org>
Fri, 28 Sep 2012 15:11:17 +0000 (15:11 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 6 Nov 2012 23:57:27 +0000 (00:57 +0100)
commitd484b52e6fcb28dc011ce45718294496c6ea83d0
treefce605b5e5a41a56b5c0546a5956805980afa87b
parent45d7f52511f43b71b623a502fdf31feb905f70a1
video: Skip bitmaps which do not fit into the screen in cfb_console

The cfb console driver is trying to prevent bitmaps to spill over the
screen, but the calculations assume that at least part of the bitmap
fits into the screen area. In reality there could be bitmap elements
which are completely out of the screen area, they just need to be
discarded.

Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/cfb_console.c