[U-Boot] [U-Boot, v6, 03/18] dm: video: Correct line clearing code
Tom Rini
trini at konsulko.com
Wed May 10 17:51:40 UTC 2017
On Wed, Apr 05, 2017 at 04:23:30PM -0600, Simon Glass wrote:
> At present we clear many more bytes than we should on 16bpp and 32bpp
> displays. The number of pixels to clear is currently calculated as the
> line length (in bytes) multiplied by the number of lines to clear. This
> is only correct for 8bpp displays.
>
> Correct the calculation to use the number of text columns multiplied by
> the width of each character multiplied by the number of lines to clear.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Anatolij Gustschin <agust at denx.de>
This has been deferred as another change:
commit 7682736c891d2b6f0cce167f4ecd55d2df0f562f
Author: eric.gao at rock-chips.com <eric.gao at rock-chips.com>
Date: Mon Apr 10 10:02:20 2017 +0800
video: Fix crash when scroll screen
also fixed the problem and has since gone in.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170510/627f0e73/attachment.sig>
More information about the U-Boot
mailing list