On Mon, Sep 9, 2013 at 11:36 AM, Alexandre Courbot <gnurou@xxxxxxxxx> wrote: > On Sat, Sep 7, 2013 at 9:25 PM, David Herrmann <dh.herrmann@xxxxxxxxx> wrote: >> From dbfb8e12166d494cd60823cbe84134d5d1a73ec8 Mon Sep 17 00:00:00 2001 >> From: David Herrmann <dh.herrmann@xxxxxxxxx> >> 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 <teg@xxxxxxx> >> Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxx> >> Cc: Stephen Warren <swarren@xxxxxxxxxxxxx> >> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> >> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > > Tried this on SHIELD, and it dramatically increases performance. > > Tested-by: Alexandre Courbot <acourbot@xxxxxxxxxx> Maybe the patch should be split into two though, one that adds devm_ioremap_wc() and another that takes advantage of it for simplefb. Alex. -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html