Re: [PATCH 1/2] drm: Add generic multipart buffer.

2010-02-03 Thread Pauli Nieminen
On Tue, Feb 2, 2010 at 10:50 PM, Dave Airlie airl...@gmail.com wrote: On Tue, Feb 2, 2010 at 3:11 AM, Pauli Nieminen suok...@gmail.com wrote: Allocating multiple pages of memory for data that is coming from user space may fail. To fix memory allocation failures the buffer object should be

Re: [PATCH 1/2] drm: Add generic multipart buffer.

2010-02-02 Thread Dave Airlie
On Tue, Feb 2, 2010 at 3:11 AM, Pauli Nieminen suok...@gmail.com wrote: Allocating multiple pages of memory for data that is coming from user space may fail. To fix memory allocation failures the buffer object should be split to multiple independ pages. Just some quick comments radeon_cs.c

[PATCH 1/2] drm: Add generic multipart buffer.

2010-02-01 Thread Pauli Nieminen
Allocating multiple pages of memory for data that is coming from user space may fail. To fix memory allocation failures the buffer object should be split to multiple independ pages. drm buffer provides generic interface to copy and process large data arrays from user space. Interface includes