summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-04-24 17:08:44 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-04-24 17:08:44 +0000
commitcace71b318aa0126e7cfe49fe5e9133e0395c478 (patch)
treefa20ac7c0a4ffeeac569c04a4d3c58f6796e26ce /drivers/video
parentf33f6f0ccc5ff7415da3feb18b1ff966ed2d80d1 (diff)
downloadop-kernel-dev-cace71b318aa0126e7cfe49fe5e9133e0395c478.zip
op-kernel-dev-cace71b318aa0126e7cfe49fe5e9133e0395c478.tar.gz
viafb: use write combining for video ram
This can give a speed up of factor 6-9, which is quite notable. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/via/via-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/via-core.c b/drivers/video/via/via-core.c
index 6723d69..5b0129b 100644
--- a/drivers/video/via/via-core.c
+++ b/drivers/video/via/via-core.c
@@ -505,7 +505,7 @@ static int __devinit via_pci_setup_mmio(struct viafb_dev *vdev)
ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type);
if (ret < 0)
goto out_unmap;
- vdev->fbmem = ioremap_nocache(vdev->fbmem_start, vdev->fbmem_len);
+ vdev->fbmem = ioremap_wc(vdev->fbmem_start, vdev->fbmem_len);
if (vdev->fbmem == NULL) {
ret = -ENOMEM;
goto out_unmap;
OpenPOWER on IntegriCloud