On Thu, 2009-07-16 at 18:34 +0200, Jerome Glisse wrote: 
> On Thu, 2009-07-16 at 18:13 +0200, Jerome Glisse wrote:
> > On AGP system we might allocate/free routinely uncached or wc memory,
> > changing page from cached (wb) to uc or wc is very expensive and involves
> > a lot of flushing. To improve performance this allocator use a pool
> > of uc,wc pages.
> > 
> > Currently each pool (wc, uc) is 256 pages big, improvement would be
> > to tweak this according to memory pressure so we can give back memory
> > to system.
> > 
> > Signed-off-by: Dave Airlie <[email protected]>
> > Signed-off-by: Jerome Glisse <[email protected]>
> 
> Just a follow-up on that one, i haven't been able yet to thoroughly
> test this patch on AGP system, so i am mostly sending so other people
> can test. I think i corrected few bugs that were in previous iteration
> of that patch.
> 
> Beside that i think i have addressed all comment previously raisen,
> but don't hesitate to pin point any things i have miss.

This one works a little better on my PowerBook than the previous one:

PCI GART works (failed to allocate the ring buffer before)
AGP fails to allocate the ring buffer (paniced at KMS init before)


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to