lkml.org 
[lkml]   [2011]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/3] viafb: use write combining for video ram
    Date
    This can give a speed up of factor 6-9, which is quite notable.

    Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
    ---
    drivers/video/via/via-core.c | 2 +-
    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;
    --
    1.6.3.2


    \
     
     \ /
      Last update: 2011-04-30 16:05    [W:5.031 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site