From: Tom Rini Date: Wed, 10 May 2017 13:51:40 -0400 Subject: [U-Boot] [U-Boot, v6, 03/18] dm: video: Correct line clearing code In-Reply-To: <20170405222345.32288-4-sjg@chromium.org> References: <20170405222345.32288-4-sjg@chromium.org> Message-ID: <20170510175140.GL12511@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Anatolij Gustschin This has been deferred as another change: commit 7682736c891d2b6f0cce167f4ecd55d2df0f562f Author: 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: