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

2009-09-24 Thread Michel Dänzer
On Thu, 2009-09-24 at 15:25 +1000, Dave Airlie wrote: On Thu, Sep 24, 2009 at 3:16 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This avoids needing to do a kmalloc PAGE_SIZE for the main indirect buffer chunk, it adds an accessor for all reads from the

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

2009-09-23 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com 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. changes since v1: Use a two page pool which should be the most common