From: Maarten Maathuis Date: Sun, 27 Dec 2009 11:22:07 +0000 (+0100) Subject: drm/nv50: align size of buffer object to the right boundaries. X-Git-Tag: v2.6.33-rc8~14^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb1dba0ebaa5b7642b323fac148f9947522a48a8;p=pandora-kernel.git drm/nv50: align size of buffer object to the right boundaries. - In the current situation the padding that is added is dangerous to write to, userspace could potentially overwrite parts of another bo. - Depth and stencil buffers are supposed to be large enough in general so the waste of memory should be acceptable. - Alternatives are hiding the padding from users or splitting vram into 2 zones. Signed-off-by: Maarten Maathuis Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed