Skip to content

Commit

Permalink
drm/ttm: Add user-space objects.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Hellstrom authored and Dave Airlie committed Dec 7, 2009
1 parent 01d01ba commit 8807153
Show file tree
Hide file tree
Showing 3 changed files with 721 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/ttm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

ccflags-y := -Iinclude/drm
ttm-y := ttm_agp_backend.o ttm_memory.o ttm_tt.o ttm_bo.o \
ttm_bo_util.o ttm_bo_vm.o ttm_module.o ttm_global.o
ttm_bo_util.o ttm_bo_vm.o ttm_module.o ttm_global.o \
ttm_object.o

obj-$(CONFIG_DRM_TTM) += ttm.o
Loading

0 comments on commit 8807153

Please sign in to comment.