drm/ttm: Add user-space objects.
authorThomas Hellstrom <thellstrom@vmware.com>
Sun, 6 Dec 2009 20:46:24 +0000 (21:46 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Dec 2009 05:22:01 +0000 (15:22 +1000)
commit88071539a3f5195f9e9dae38a3e35b3ce4b9f9fc
treea0be303c46b4cfa28b8357cf27ab6fae666fe470
parent01d01ba947670cf58f22119fc126fdf39078f6ba
drm/ttm: Add user-space objects.

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>
drivers/gpu/drm/ttm/Makefile
drivers/gpu/drm/ttm/ttm_object.c [new file with mode: 0644]
include/drm/ttm/ttm_object.h [new file with mode: 0644]