drm: Import the ttm memory manager from FreeBSD
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 4 Aug 2013 06:11:28 +0000 (08:11 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 8 Aug 2013 18:27:11 +0000 (20:27 +0200)
commit5c9d63cf3083cc6837b6ff10d9d13ddd61854a26
tree8f7448abd7b17f7fcf8a346a5b4a7c8a42c61387
parent65b4ee27d80835be2c4d5e0b4b19fe40975ec8d7
drm: Import the ttm memory manager from FreeBSD

It is needed by some recent GPU drivers such as nouveau and radeon
for nvidia and AMD hardware
26 files changed:
sys/dev/drm2/drmP.h
sys/dev/drm2/drm_drv.c
sys/dev/drm2/drm_gem.c
sys/dev/drm2/drm_vm.c
sys/dev/drm2/drmn/Makefile
sys/dev/drm2/ttm/ttm_agp_backend.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_bo.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_bo_api.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_bo_driver.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_bo_manager.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_bo_util.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_bo_vm.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_execbuf_util.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_execbuf_util.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_lock.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_lock.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_memory.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_memory.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_module.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_object.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_object.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_page_alloc.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_page_alloc.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_page_alloc_dma.c [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_placement.h [new file with mode: 0644]
sys/dev/drm2/ttm/ttm_tt.c [new file with mode: 0644]