Thread (14 messages) flat view 14 messages, 4 authors, 2013-10-02

Re: [BUG] simplefb not showing any output

From: David Herrmann <hidden>
Date: 2013-09-09 09:46:23

Hi

On Mon, Sep 9, 2013 at 4:40 AM, Alexandre Courbot [off-list ref] wrote:
On Mon, Sep 9, 2013 at 11:36 AM, Alexandre Courbot [off-list ref] wrote:
quoted
On Sat, Sep 7, 2013 at 9:25 PM, David Herrmann [off-list ref] wrote:
quoted
From dbfb8e12166d494cd60823cbe84134d5d1a73ec8 Mon Sep 17 00:00:00 2001
From: David Herrmann <redacted>
Date: Sat, 7 Sep 2013 14:22:01 +0200
Subject: [PATCH] devm/simplefb: introduce and use devm_ioremap_wc()

We want to use devm_ioremap_nocache() or even devm_ioremap_wc() to speed
up fbdev writes _a lot_. As devm_ioremap_wc() doesn't exist, yet,
introduce it along the way. Note that ioremap_wc() is aliases to
ioremap_nocache() in asm-generic/{io,iomem}.h so we can safely expect all
architectures to either provide it or use the same alias.

Reported-by: Tom Gundersen <redacted>
Signed-off-by: David Herrmann <redacted>
Cc: Stephen Warren <redacted>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Tried this on SHIELD, and it dramatically increases performance.

Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Maybe the patch should be split into two though, one that adds
devm_ioremap_wc() and another that takes advantage of it for simplefb.
Thanks for testing! I added your tested-by. I also changed the patches
slightly to no longer use devm_*. The *_wc patch is now split off,
too. I will send it later today.

Thanks
David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help