Re: [PATCH] [RFC] drm/radeon/kms: don't require up to 64k allocations.

2009-09-23 Thread Pauli Nieminen
2009/9/23 Dave Airlie > > > > From: Dave Airlie > > > > > > This avoids needing to do a kmalloc > PAGE_SIZE for the main > > > indirect buffer chunk, it adds an accessor for all reads from > > > the chunk and caches a single page at a time for subsequent > > > reads. > > > > FWIW, this works on

Re: [PATCH] [RFC] drm/radeon/kms: don't require up to 64k allocations.

2009-09-23 Thread Dave Airlie
> > From: Dave Airlie > > > > This avoids needing to do a kmalloc > PAGE_SIZE for the main > > indirect buffer chunk, it adds an accessor for all reads from > > the chunk and caches a single page at a time for subsequent > > reads. > > FWIW, this works on my PowerBook but seems to drop x11perf

Re: [PATCH] [RFC] drm/radeon/kms: don't require up to 64k allocations.

2009-09-23 Thread Michel Dänzer
On Wed, 2009-09-23 at 16:56 +1000, Dave Airlie wrote: > From: Dave Airlie > > This avoids needing to do a kmalloc > PAGE_SIZE for the main > indirect buffer chunk, it adds an accessor for all reads from > the chunk and caches a single page at a time for subsequent > reads. FWIW, this works on m

[PATCH] [RFC] drm/radeon/kms: don't require up to 64k allocations.

2009-09-22 Thread Dave Airlie
From: Dave Airlie This avoids needing to do a kmalloc > PAGE_SIZE for the main indirect buffer chunk, it adds an accessor for all reads from the chunk and caches a single page at a time for subsequent reads. TODO: r600 fixups. --- drivers/gpu/drm/radeon/r100.c | 188 ++---