]> git.baikalelectronics.ru Git - kernel.git/commit
efifb: Enable write-combining
authorAndy Lutomirski <luto@MIT.EDU>
Thu, 26 May 2011 14:13:31 +0000 (10:13 -0400)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Jun 2011 08:18:04 +0000 (17:18 +0900)
commit8b67568ec7d2a85bc56b2bb61c86fabe67566081
tree91992251a5ff8967159fcfd7802732e14369d9de
parent1d869d17ac2e976b7ad91b1e7cce91360f111c0e
efifb: Enable write-combining

Running fbcon on an uncached framebuffer is remarkably slow.  So try
to enable write combining in efifb.

Without this patch, it takes 5.8 seconds from efifb probe to i915
probe (default options; no plymouth or quiet mode).  With this patch,
it only takes 1.7 seconds.  That means we wasted over 4 seconds just
writing to UC memory.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/efifb.c