Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drm/ttm: remove padding from ttm_ref_object on 64bit builds | Richard Kennedy | 2010-02-01 | 1 | -1/+1 |
| | | | | | | | | | | Re-order structure ttm_ref_object to remove 8 bytes of alignment padding on 64 bit builds, so shrinking its size from 72 to 64 bytes allowing it to fit into a smaller slab. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Acked-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> | ||||
* | drm/ttm: Add user-space objects. | Thomas Hellstrom | 2009-12-07 | 1 | -0/+452 |
Add objects needed for user-space to maintain reference counts on ttm objects. This is used by the vmwgfx driver which allows user-space to maintain map-counts on dma buffers, lock-counts on the ttm lock and ref-counts on gpu surfaces, gpu contexts and dma buffer. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> |