diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2009-12-27 12:22:07 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-02-10 08:19:34 +1000 |
commit | eb1dba0ebaa5b7642b323fac148f9947522a48a8 (patch) | |
tree | 5aaf08820f7b37235f04d79e7aadef9a80326930 /drivers/gpu/vga | |
parent | 5025b43120b629bdf11087a3c652dc9cbe172191 (diff) |
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 <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/vga')
0 files changed, 0 insertions, 0 deletions