diff mbox

[U-Boot,v2,05/22] x86: config: Always scroll the display by 5 lines, for speed

Message ID 1420154295-16633-6-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Jan. 1, 2015, 11:17 p.m. UTC
Scrolling a line at a time is very slow for reasons that I don't understand.
It seems to take about 100ms to copy 4MB of RAM in the frame buffer. To cope
with this, scroll 5 lines each time.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v2: None

 include/configs/x86-common.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass Jan. 23, 2015, 11:55 p.m. UTC | #1
On 1 January 2015 at 16:17, Simon Glass <sjg@chromium.org> wrote:
> Scrolling a line at a time is very slow for reasons that I don't understand.
> It seems to take about 100ms to copy 4MB of RAM in the frame buffer. To cope
> with this, scroll 5 lines each time.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v2: None
>
>  include/configs/x86-common.h | 1 +
>  1 file changed, 1 insertion(+)

Applied to u-boot-x86.
diff mbox

Patch

diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index f16ae32..4f0a3c5 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -179,6 +179,7 @@ 
 #define VIDEO_FB_16BPP_WORD_SWAP
 #define CONFIG_I8042_KBD
 #define CONFIG_CFB_CONSOLE
+#define CONFIG_CONSOLE_SCROLL_LINES 5
 
 /*-----------------------------------------------------------------------
  * CPU Features