git: drm: Import the ttm memory manager from FreeBSD

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Aug 8 11:31:49 PDT 2013


commit 5c9d63cf3083cc6837b6ff10d9d13ddd61854a26
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sun Aug 4 08:11:28 2013 +0200

    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

Summary of changes:
 sys/dev/drm2/drmP.h                   |    9 +-
 sys/dev/drm2/drm_drv.c                |   25 +-
 sys/dev/drm2/drm_gem.c                |    8 +-
 sys/dev/drm2/drm_vm.c                 |   10 +-
 sys/dev/drm2/drmn/Makefile            |   14 +-
 sys/dev/drm2/ttm/ttm_agp_backend.c    |  144 +++
 sys/dev/drm2/ttm/ttm_bo.c             | 1818 +++++++++++++++++++++++++++++++++
 sys/dev/drm2/ttm/ttm_bo_api.h         |  740 ++++++++++++++
 sys/dev/drm2/ttm/ttm_bo_driver.h      | 1018 ++++++++++++++++++
 sys/dev/drm2/ttm/ttm_bo_manager.c     |  156 +++
 sys/dev/drm2/ttm/ttm_bo_util.c        |  658 ++++++++++++
 sys/dev/drm2/ttm/ttm_bo_vm.c          |  497 +++++++++
 sys/dev/drm2/ttm/ttm_execbuf_util.c   |  228 +++++
 sys/dev/drm2/ttm/ttm_execbuf_util.h   |  109 ++
 sys/dev/drm2/ttm/ttm_lock.c           |  339 ++++++
 sys/dev/drm2/ttm/ttm_lock.h           |  228 +++++
 sys/dev/drm2/ttm/ttm_memory.c         |  467 +++++++++
 sys/dev/drm2/ttm/ttm_memory.h         |  149 +++
 sys/dev/drm2/ttm/ttm_module.h         |   37 +
 sys/dev/drm2/ttm/ttm_object.c         |  453 ++++++++
 sys/dev/drm2/ttm/ttm_object.h         |  271 +++++
 sys/dev/drm2/ttm/ttm_page_alloc.c     |  900 ++++++++++++++++
 sys/dev/drm2/ttm/ttm_page_alloc.h     |  103 ++
 sys/dev/drm2/ttm/ttm_page_alloc_dma.c | 1133 ++++++++++++++++++++
 sys/dev/drm2/ttm/ttm_placement.h      |   93 ++
 sys/dev/drm2/ttm/ttm_tt.c             |  370 +++++++
 26 files changed, 9956 insertions(+), 21 deletions(-)
 create mode 100644 sys/dev/drm2/ttm/ttm_agp_backend.c
 create mode 100644 sys/dev/drm2/ttm/ttm_bo.c
 create mode 100644 sys/dev/drm2/ttm/ttm_bo_api.h
 create mode 100644 sys/dev/drm2/ttm/ttm_bo_driver.h
 create mode 100644 sys/dev/drm2/ttm/ttm_bo_manager.c
 create mode 100644 sys/dev/drm2/ttm/ttm_bo_util.c
 create mode 100644 sys/dev/drm2/ttm/ttm_bo_vm.c
 create mode 100644 sys/dev/drm2/ttm/ttm_execbuf_util.c
 create mode 100644 sys/dev/drm2/ttm/ttm_execbuf_util.h
 create mode 100644 sys/dev/drm2/ttm/ttm_lock.c
 create mode 100644 sys/dev/drm2/ttm/ttm_lock.h
 create mode 100644 sys/dev/drm2/ttm/ttm_memory.c
 create mode 100644 sys/dev/drm2/ttm/ttm_memory.h
 create mode 100644 sys/dev/drm2/ttm/ttm_module.h
 create mode 100644 sys/dev/drm2/ttm/ttm_object.c
 create mode 100644 sys/dev/drm2/ttm/ttm_object.h
 create mode 100644 sys/dev/drm2/ttm/ttm_page_alloc.c
 create mode 100644 sys/dev/drm2/ttm/ttm_page_alloc.h
 create mode 100644 sys/dev/drm2/ttm/ttm_page_alloc_dma.c
 create mode 100644 sys/dev/drm2/ttm/ttm_placement.h
 create mode 100644 sys/dev/drm2/ttm/ttm_tt.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c9d63cf3083cc6837b6ff10d9d13ddd61854a26


-- 
DragonFly BSD source repository



More information about the Commits mailing list