
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@chromium.org Acked-by: Anatolij Gustschin agust@denx.de
This has been deferred as another change: commit 7682736c891d2b6f0cce167f4ecd55d2df0f562f Author: eric.gao@rock-chips.com eric.gao@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.