]> git.karo-electronics.de Git - karo-tx-linux.git/commit
simplefb: use write-combined remapping
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 2 Oct 2013 14:58:39 +0000 (16:58 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 30 Oct 2013 10:49:02 +0000 (12:49 +0200)
commit9e210be68a396da0f1d030289c323f1785f29d33
treeaadf07dfd2814fabd010f1d39a2e85084ef20ca4
parent498f6d3660e8c3343b26a5f8e2707b642bcf3fc8
simplefb: use write-combined remapping

Framebuffers shouldn't be cached and it is usually very uncommon to read
them. Therefore, use ioremap_wc() to get significant speed improvements on
systems which provide it. On all other systems it's aliased to
ioremap_nocache() which is also fine.

Reported-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Tested-by: Tom Gundersen <teg@jklm.no>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/simplefb.c