Re: TTM page pool allocator

2009-07-22 Thread Dave Airlie
On Thu, Jul 23, 2009 at 9:24 AM, Keith Whitwell wrote: > On Wed, 2009-07-22 at 15:35 -0700, Jerome Glisse wrote: >> On Wed, 2009-07-22 at 21:13 +0200, Thomas Hellström wrote: >> > Jerome Glisse wrote: >> > > On Wed, 2009-07-22 at 15:16 +0200, Michel Dänzer wrote: >> > > >> > >> On Tue, 2009-07-21 a

Re: TTM page pool allocator

2009-07-22 Thread Keith Whitwell
On Wed, 2009-07-22 at 15:35 -0700, Jerome Glisse wrote: > On Wed, 2009-07-22 at 21:13 +0200, Thomas Hellström wrote: > > Jerome Glisse wrote: > > > On Wed, 2009-07-22 at 15:16 +0200, Michel Dänzer wrote: > > > > > >> On Tue, 2009-07-21 at 21:22 +0200, Jerome Glisse wrote: > > >> > > >>> On

Re: TTM page pool allocator

2009-07-22 Thread Jerome Glisse
On Wed, 2009-07-22 at 21:13 +0200, Thomas Hellström wrote: > Jerome Glisse wrote: > > On Wed, 2009-07-22 at 15:16 +0200, Michel Dänzer wrote: > > > >> On Tue, 2009-07-21 at 21:22 +0200, Jerome Glisse wrote: > >> > >>> On Tue, 2009-07-21 at 20:00 +0200, Jerome Glisse wrote: > >>> > >>

Re: TTM page pool allocator

2009-07-22 Thread Thomas Hellström
Jerome Glisse wrote: > On Wed, 2009-07-22 at 15:16 +0200, Michel Dänzer wrote: > >> On Tue, 2009-07-21 at 21:22 +0200, Jerome Glisse wrote: >> >>> On Tue, 2009-07-21 at 20:00 +0200, Jerome Glisse wrote: >>> On Tue, 2009-07-21 at 19:34 +0200, Jerome Glisse wrote: >>

Re: TTM page pool allocator

2009-07-22 Thread Thomas Hellström
Jerome Glisse wrote: > On Wed, 2009-07-22 at 10:27 +0200, Thomas Hellström wrote: > >> Jerome Glisse wrote: >> >>> On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wrote: >>> >>> Jerome Glisse skrev: > Hi, > > Thomas i attach a reworked

Re: TTM page pool allocator

2009-07-22 Thread Jerome Glisse
On Wed, 2009-07-22 at 15:16 +0200, Michel Dänzer wrote: > On Tue, 2009-07-21 at 21:22 +0200, Jerome Glisse wrote: > > On Tue, 2009-07-21 at 20:00 +0200, Jerome Glisse wrote: > > > On Tue, 2009-07-21 at 19:34 +0200, Jerome Glisse wrote: > > > > On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wro

Re: TTM page pool allocator

2009-07-22 Thread Michel Dänzer
On Tue, 2009-07-21 at 21:22 +0200, Jerome Glisse wrote: > On Tue, 2009-07-21 at 20:00 +0200, Jerome Glisse wrote: > > On Tue, 2009-07-21 at 19:34 +0200, Jerome Glisse wrote: > > > On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wrote: > > > > > > > > 4) We could now skip the ttm_tt_populate()

Re: TTM page pool allocator

2009-07-22 Thread Jerome Glisse
On Wed, 2009-07-22 at 10:27 +0200, Thomas Hellström wrote: > Jerome Glisse wrote: > > On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wrote: > > > >> Jerome Glisse skrev: > >> > >>> Hi, > >>> > >>> Thomas i attach a reworked page pool allocator based on Dave works, > >>> this one should

Re: TTM page pool allocator

2009-07-21 Thread Jerome Glisse
On Tue, 2009-07-21 at 20:00 +0200, Jerome Glisse wrote: > On Tue, 2009-07-21 at 19:34 +0200, Jerome Glisse wrote: > > On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wrote: > > > > > > 4) We could now skip the ttm_tt_populate() in ttm_tt_set_caching, since > > > it will always allocate cached

Re: TTM page pool allocator

2009-07-21 Thread Jerome Glisse
On Tue, 2009-07-21 at 19:34 +0200, Jerome Glisse wrote: > On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wrote: > > > > 4) We could now skip the ttm_tt_populate() in ttm_tt_set_caching, since > > it will always allocate cached pages and then transition them. > > > > Okay 4) is bad, what ha

Re: TTM page pool allocator

2009-07-21 Thread Jerome Glisse
On Thu, 2009-06-25 at 17:53 +0200, Thomas Hellström wrote: > Jerome Glisse skrev: > > Hi, > > > > Thomas i attach a reworked page pool allocator based on Dave works, > > this one should be ok with ttm cache status tracking. It definitely > > helps on AGP system, now the bottleneck is in mesa vertex

Re: TTM page pool allocator

2009-07-09 Thread Michel Dänzer
On Thu, 2009-07-09 at 16:06 +1000, Dave Airlie wrote: > 2009/6/30 Thomas Hellström : > > Jerome Glisse skrev: > >> > >> On Fri, 2009-06-26 at 10:00 +1000, Dave Airlie wrote: > >> > >>> > >>> On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse > >>> wrote: > >>> > > Hi, > > Thomas i

Re: TTM page pool allocator

2009-07-08 Thread Dave Airlie
2009/6/30 Thomas Hellström : > Jerome Glisse skrev: >> >> On Fri, 2009-06-26 at 10:00 +1000, Dave Airlie wrote: >> >>> >>> On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse >>> wrote: >>> Hi, Thomas i attach a reworked page pool allocator based on Dave works, this one should

Re: TTM page pool allocator

2009-06-29 Thread Thomas Hellström
Jerome Glisse skrev: > On Fri, 2009-06-26 at 10:00 +1000, Dave Airlie wrote: > >> On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse >> wrote: >> >>> Hi, >>> >>> Thomas i attach a reworked page pool allocator based on Dave works, >>> this one should be ok with ttm cache status tracking. It de

Re: TTM page pool allocator

2009-06-26 Thread Jerome Glisse
On Fri, 2009-06-26 at 10:00 +1000, Dave Airlie wrote: > On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse wrote: > > Hi, > > > > Thomas i attach a reworked page pool allocator based on Dave works, > > this one should be ok with ttm cache status tracking. It definitely > > helps on AGP system, now the

Re: TTM page pool allocator

2009-06-26 Thread Dave Airlie
> > I think it's better to fix userspace to not allocate as much buffer per > frame as it does now rather than having a pool of wb pages, i removed > it because on my 64M box memory is getting tight, we need to compute > the number of page we still based on memory. Also i think it's ok > to assume

Re: TTM page pool allocator

2009-06-26 Thread Jerome Glisse
On Fri, 2009-06-26 at 08:31 +0200, Thomas Hellström wrote: > Dave Airlie skrev: > > On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse > > wrote: > > > >> Hi, > >> > >> Thomas i attach a reworked page pool allocator based on Dave works, > >> this one should be ok with ttm cache status tracking. It

Re: TTM page pool allocator

2009-06-26 Thread Jerome Glisse
On Fri, 2009-06-26 at 10:00 +1000, Dave Airlie wrote: > On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse wrote: > > Hi, > > > > Thomas i attach a reworked page pool allocator based on Dave works, > > this one should be ok with ttm cache status tracking. It definitely > > helps on AGP system, now the

Re: TTM page pool allocator

2009-06-25 Thread Thomas Hellström
Dave Airlie skrev: > On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse wrote: > >> Hi, >> >> Thomas i attach a reworked page pool allocator based on Dave works, >> this one should be ok with ttm cache status tracking. It definitely >> helps on AGP system, now the bottleneck is in mesa vertex's dma

Re: TTM page pool allocator

2009-06-25 Thread Dave Airlie
On Thu, Jun 25, 2009 at 10:01 PM, Jerome Glisse wrote: > Hi, > > Thomas i attach a reworked page pool allocator based on Dave works, > this one should be ok with ttm cache status tracking. It definitely > helps on AGP system, now the bottleneck is in mesa vertex's dma > allocation. > My original v

Re: TTM page pool allocator

2009-06-25 Thread Thomas Hellström
Jerome Glisse skrev: > Hi, > > Thomas i attach a reworked page pool allocator based on Dave works, > this one should be ok with ttm cache status tracking. It definitely > helps on AGP system, now the bottleneck is in mesa vertex's dma > allocation. > > Cheers, > Jerome > Hi, Jerome! In general i

TTM page pool allocator

2009-06-25 Thread Jerome Glisse
Hi, Thomas i attach a reworked page pool allocator based on Dave works, this one should be ok with ttm cache status tracking. It definitely helps on AGP system, now the bottleneck is in mesa vertex's dma allocation. Cheers, Jerome >From d2581e2a97e9c694fd1238f1a5652e1f385b5636 Mon Sep 17 00:00:00