[Intel-gfx] About KMS, FB and Intel drivers

Jesse Barnes jbarnes at virtuousgeek.org
Tue Jan 20 23:48:46 CET 2009


On Tuesday, January 20, 2009 9:57 am Jesse Barnes wrote:
> On Tuesday, January 20, 2009 9:07 am Claudio M. Camacho wrote:
> > I also would like to mention that, disabling KMS, my glxgears shows
> > only 45FPS, which is quite low (I used to get up to 1200fps on 2.6.27
> > without GEM and using mesa 7.3).
>
> Not sure about this one...

On second thought, can you try this?

diff --git a/src/i830_exa.c b/src/i830_exa.c
index 9249074..88223df 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -817,7 +817,7 @@ i830_uxa_prepare_access (PixmapPtr pixmap, uxa_access_t 
acce
            drm_intel_gem_bo_start_gtt_access(bo, access == UXA_ACCESS_RW);
            pixmap->devPrivate.ptr = pI830->FbBase + bo->offset;
        } else {
-           if (dri_bo_map(bo, access == UXA_ACCESS_RW) != 0)
+           if (drm_intel_gem_bo_map_gtt(bo) != 0)
                return FALSE;
            pixmap->devPrivate.ptr = bo->virtual;
        }



-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list