Hi Faruk xf86AllocateOffscreenLinear seems to be right function. The pixmap cache thing was never working anyway because greedy 2D driver was using all the offscreen memory for pixmap cache and that was never fixed in xfree 3.x
check out RADEONAllocateMemory to see an example on how to use xf86AllocateOffscreenLinear. If you need any help with reading my lousy code please e-mail me. -- Dominik Behr On Mon, 22 Apr 2002 13:23:49 -0600 Faruk Grozdanic <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to port the utah-glx s3savage drivers from xfree86 3.3.x to > 4.2.0 . Old code calls xf86AccelInfoRec.PixmapCacheMemoryStart & > xf86AccelInfoRec.PixmapCacheMemoryEnd to get the memory range to use. > In xf86 4.2.0 these do not exist. My understanding is to use > xf86AllocateOffscreenLinear (from xf86fbman.h) for this task. Can I call > this function directly or should I use FBManagerFuncs structure to do this? > Also, if there is a better way of allocatiing VideoRam please let me know. > > Thanks > > Faruk G. > > _______________________________________________ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert