[Nouveau] [PATCH 1/2] drm/nv50: align size of buffer object to the right boundaries.

2009-12-27 Thread Maarten Maathuis
- Depth and stencil buffers are supposed to be large enough in general. Signed-off-by: Maarten Maathuis madman2...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_bo.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c

Re: [Nouveau] [PATCH 1/2] drm/nv50: align size of buffer object to the right boundaries.

2009-12-27 Thread Christoph Bumiller
On 12/27/2009 12:41 PM, Maarten Maathuis wrote: - Depth and stencil buffers are supposed to be large enough in general. Signed-off-by: Maarten Maathuis madman2...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_bo.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff

Re: [Nouveau] [PATCH 1/2] drm/nv50: align size of buffer object to the right boundaries.

2009-12-27 Thread Maarten Maathuis
On Sun, Dec 27, 2009 at 2:43 PM, Christoph Bumiller e0425...@student.tuwien.ac.at wrote: On 12/27/2009 12:41 PM, Maarten Maathuis wrote: - Depth and stencil buffers are supposed to be large enough in general. Signed-off-by: Maarten Maathuis madman2...@gmail.com ---  

Re: [Nouveau] [PATCH 1/2] drm/nv50: align size of buffer object to the right boundaries.

2009-12-27 Thread Maarten Maathuis
To avoid any confusion, make sure your buffers are large enough means you shouldn't go allocating very small depth/stencil buffers, because that will waste space. Userspace should never have to worry about the restrictions themselves. Maarten. On Sun, Dec 27, 2009 at 3:28 PM, Maarten Maathuis