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

Claudio M. Camacho claudiomkd at gmail.com
Wed Jan 21 08:02:05 CET 2009


Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> 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;
>         }

Same result, glxgears is stuck at 45FPS. And actually Quake3 is stuck
there too, at 45FPS. However, my LVDS refresh rate is 60FPS.

-- 
Claudio M. Camacho
http://www.claudiocamacho.org



More information about the Intel-gfx mailing list