aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorMaarten Maathuis <[email protected]>2009-12-27 11:22:07 +0000
committerBen Skeggs <[email protected]>2010-02-09 22:19:34 +0000
commiteb1dba0ebaa5b7642b323fac148f9947522a48a8 (patch)
tree5aaf08820f7b37235f04d79e7aadef9a80326930 /lib/debugobjects.c
parentdrm/nv50: disregard dac outputs in nv50_sor_dpms() (diff)
downloadkernel-eb1dba0ebaa5b7642b323fac148f9947522a48a8.tar.gz
kernel-eb1dba0ebaa5b7642b323fac148f9947522a48a8.zip
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 <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions