Skip to contentSkip to conversation

drm/ttm: Add a priority queue

RFC In review Lauri Kasanen 1 participant 1 message Apr 4, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

RFC 1/3 drm/ttm: Add a priority queue

---
 drivers/gpu/drm/ttm/Makefile       |   2 +-
 drivers/gpu/drm/ttm/ttm_priority.c | 152 +++++++++++++++++++++++++++++++++++++
 include/drm/ttm/ttm_priority.h     |  90 ++++++++++++++++++++++
 3 files changed, 243 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/ttm/ttm_priority.c
 create mode 100644 include/drm/ttm/ttm_priority.h
drivers/gpu/drm/ttm/Makefile +1 -1
index b433b9f..4411599 100644
@@ -5,6 +5,6 @@ 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_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
-	ttm_bo_manager.o ttm_page_alloc_dma.o
+	ttm_bo_manager.o ttm_page_alloc_dma.o ttm_priority.o
 
 obj-$(CONFIG_DRM_TTM) += ttm.o
drivers/gpu/drm/ttm/ttm_priority.c new file +152 -0

152 lines not on this page · raw message

include/drm/ttm/ttm_priority.h new file +90 -0

90 lines not on this page · raw message

Signature · 1 line
1.8.3.1