/linux-3.4.99/include/drm/ttm/ |
D | ttm_bo_api.h | 192 struct ttm_buffer_object { struct 201 void (*destroy) (struct ttm_buffer_object *); argument 299 struct ttm_buffer_object *bo; 310 static inline struct ttm_buffer_object * 311 ttm_bo_reference(struct ttm_buffer_object *bo) in ttm_bo_reference() 331 extern int ttm_bo_wait(struct ttm_buffer_object *bo, bool lazy, 350 extern int ttm_bo_validate(struct ttm_buffer_object *bo, 362 extern void ttm_bo_unref(struct ttm_buffer_object **bo); 374 extern void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count, 387 extern void ttm_bo_add_to_lru(struct ttm_buffer_object *bo); [all …]
|
D | ttm_bo_driver.h | 205 struct ttm_buffer_object *bo, 381 void(*evict_flags) (struct ttm_buffer_object *bo, 396 int (*move) (struct ttm_buffer_object *bo, 413 int (*verify_access) (struct ttm_buffer_object *bo, 435 void (*move_notify)(struct ttm_buffer_object *bo, 439 int (*fault_reserve_notify)(struct ttm_buffer_object *bo); 444 void (*swap_notify) (struct ttm_buffer_object *bo); 722 extern int ttm_bo_mem_space(struct ttm_buffer_object *bo, 728 extern void ttm_bo_mem_put(struct ttm_buffer_object *bo, 730 extern void ttm_bo_mem_put_locked(struct ttm_buffer_object *bo, [all …]
|
D | ttm_execbuf_util.h | 52 struct ttm_buffer_object *bo;
|
/linux-3.4.99/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 43 static struct ttm_buffer_object *ttm_bo_vm_lookup_rb(struct ttm_bo_device *bdev, in ttm_bo_vm_lookup_rb() 49 struct ttm_buffer_object *bo; in ttm_bo_vm_lookup_rb() 50 struct ttm_buffer_object *best_bo = NULL; in ttm_bo_vm_lookup_rb() 53 bo = rb_entry(cur, struct ttm_buffer_object, vm_rb); in ttm_bo_vm_lookup_rb() 76 struct ttm_buffer_object *bo = (struct ttm_buffer_object *) in ttm_bo_vm_fault() 232 struct ttm_buffer_object *bo = in ttm_bo_vm_open() 233 (struct ttm_buffer_object *)vma->vm_private_data; in ttm_bo_vm_open() 240 struct ttm_buffer_object *bo = (struct ttm_buffer_object *)vma->vm_private_data; in ttm_bo_vm_close() 256 struct ttm_buffer_object *bo; in ttm_bo_mmap() 296 int ttm_fbdev_mmap(struct vm_area_struct *vma, struct ttm_buffer_object *bo) in ttm_fbdev_mmap() [all …]
|
D | ttm_bo.c | 48 static int ttm_bo_setup_vm(struct ttm_buffer_object *bo); 84 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, in ttm_bo_mem_space_debug() 137 struct ttm_buffer_object *bo = in ttm_bo_release_list() 138 container_of(list_kref, struct ttm_buffer_object, list_kref); in ttm_bo_release_list() 161 int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo, bool interruptible) in ttm_bo_wait_unreserved() 173 void ttm_bo_add_to_lru(struct ttm_buffer_object *bo) in ttm_bo_add_to_lru() 195 int ttm_bo_del_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_from_lru() 216 int ttm_bo_reserve_locked(struct ttm_buffer_object *bo, in ttm_bo_reserve_locked() 276 void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count, in ttm_bo_list_ref_sub() 283 int ttm_bo_reserve(struct ttm_buffer_object *bo, in ttm_bo_reserve() [all …]
|
D | ttm_bo_util.c | 40 void ttm_bo_free_old_node(struct ttm_buffer_object *bo) in ttm_bo_free_old_node() 45 int ttm_bo_move_ttm(struct ttm_buffer_object *bo, in ttm_bo_move_ttm() 100 struct ttm_buffer_object *bo; in ttm_mem_io_evict() 106 struct ttm_buffer_object, in ttm_mem_io_evict() 153 int ttm_mem_io_reserve_vm(struct ttm_buffer_object *bo) in ttm_mem_io_reserve_vm() 173 void ttm_mem_io_free_vm(struct ttm_buffer_object *bo) in ttm_mem_io_free_vm() 316 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, in ttm_bo_move_memcpy() 400 static void ttm_transfered_destroy(struct ttm_buffer_object *bo) in ttm_transfered_destroy() 420 static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo, in ttm_buffer_object_transfer() 421 struct ttm_buffer_object **new_obj) in ttm_buffer_object_transfer() [all …]
|
D | ttm_execbuf_util.c | 40 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_backoff_reservation_locked() 60 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_del_from_lru_locked() 76 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_list_ref_sub() 86 struct ttm_buffer_object *bo) in ttm_eu_wait_unreserved_locked() 153 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_reserve_buffers() 206 struct ttm_buffer_object *bo; in ttm_eu_fence_buffer_objects()
|
D | ttm_bo_manager.c | 51 struct ttm_buffer_object *bo, in ttm_bo_man_get_node()
|
/linux-3.4.99/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_dmabuf.c | 56 struct ttm_buffer_object *bo = &buf->base; in vmw_dmabuf_to_placement() 99 struct ttm_buffer_object *bo = &buf->base; in vmw_dmabuf_to_vram_or_gmr() 202 struct ttm_buffer_object *bo = &buf->base; in vmw_dmabuf_to_start_of_vram() 279 void vmw_bo_get_guest_ptr(const struct ttm_buffer_object *bo, in vmw_bo_get_guest_ptr() 300 void vmw_bo_pin(struct ttm_buffer_object *bo, bool pin) in vmw_bo_pin()
|
D | vmwgfx_drv.h | 69 struct ttm_buffer_object base; 119 struct ttm_buffer_object *backup; 168 struct ttm_buffer_object *cur_query_bo; 320 struct ttm_buffer_object *dummy_query_bo; 321 struct ttm_buffer_object *pinned_bo; 420 extern void vmw_dmabuf_bo_free(struct ttm_buffer_object *bo); 425 void (*bo_free) (struct ttm_buffer_object *bo)); 430 extern uint32_t vmw_dmabuf_validate_node(struct ttm_buffer_object *bo, 432 extern void vmw_dmabuf_validate_clear(struct ttm_buffer_object *bo); 464 extern void vmw_bo_get_guest_ptr(const struct ttm_buffer_object *buf, [all …]
|
D | vmwgfx_buffer.c | 245 void vmw_evict_flags(struct ttm_buffer_object *bo, in vmw_evict_flags() 255 static int vmw_verify_access(struct ttm_buffer_object *bo, struct file *filp) in vmw_verify_access() 291 static int vmw_ttm_fault_reserve_notify(struct ttm_buffer_object *bo) in vmw_ttm_fault_reserve_notify()
|
D | vmwgfx_resource.c | 77 vmw_dma_buffer(struct ttm_buffer_object *bo) in vmw_dma_buffer() 83 vmw_user_dma_buffer(struct ttm_buffer_object *bo) in vmw_user_dma_buffer() 1543 void vmw_dmabuf_bo_free(struct ttm_buffer_object *bo) in vmw_dmabuf_bo_free() 1554 void (*bo_free) (struct ttm_buffer_object *bo)) in vmw_dmabuf_init() 1574 static void vmw_user_dmabuf_destroy(struct ttm_buffer_object *bo) in vmw_user_dmabuf_destroy() 1585 struct ttm_buffer_object *bo; in vmw_user_dmabuf_release() 1606 struct ttm_buffer_object *tmp; in vmw_dmabuf_alloc_ioctl() 1660 uint32_t vmw_dmabuf_validate_node(struct ttm_buffer_object *bo, in vmw_dmabuf_validate_node() 1674 void vmw_dmabuf_validate_clear(struct ttm_buffer_object *bo) in vmw_dmabuf_validate_clear() 1929 struct ttm_buffer_object *tmp; in vmw_dumb_create()
|
D | vmwgfx_execbuf.c | 73 struct ttm_buffer_object *bo, in vmw_bo_to_validate_list() 296 struct ttm_buffer_object *new_query_bo, in vmw_query_bo_switch_prepare() 446 struct ttm_buffer_object *bo; in vmw_translate_guest_ptr() 553 struct ttm_buffer_object *bo; in vmw_cmd_dma() 867 struct ttm_buffer_object *bo; in vmw_apply_relocations() 911 struct ttm_buffer_object *bo) in vmw_validate_single_buffer()
|
D | vmwgfx_gmrid_manager.c | 48 struct ttm_buffer_object *bo, in vmw_gmrid_man_get_node()
|
D | vmwgfx_fb.c | 547 ttm_bo_unref((struct ttm_buffer_object **)&par->vmw_bo); in vmw_fb_init() 560 struct ttm_buffer_object *bo; in vmw_fb_close()
|
D | vmwgfx_scrn.c | 204 struct ttm_buffer_object *bo; in vmw_sou_backing_free()
|
D | vmwgfx_fifo.c | 539 struct ttm_buffer_object *bo = dev_priv->dummy_query_bo; in vmw_fifo_emit_dummy_query()
|
/linux-3.4.99/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 43 nouveau_bo_del_ttm(struct ttm_buffer_object *bo) in nouveau_bo_del_ttm() 195 struct ttm_buffer_object *bo = &nvbo->bo; in nouveau_bo_pin() 238 struct ttm_buffer_object *bo = &nvbo->bo; in nouveau_bo_unpin() 445 nouveau_bo_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *pl) in nouveau_bo_evict_flags() 487 nvc0_bo_move_m2mf(struct nouveau_channel *chan, struct ttm_buffer_object *bo, in nvc0_bo_move_m2mf() 526 nv50_bo_move_m2mf(struct nouveau_channel *chan, struct ttm_buffer_object *bo, in nv50_bo_move_m2mf() 616 nouveau_bo_mem_ctxdma(struct ttm_buffer_object *bo, in nouveau_bo_mem_ctxdma() 625 nv04_bo_move_m2mf(struct nouveau_channel *chan, struct ttm_buffer_object *bo, in nv04_bo_move_m2mf() 691 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, bool intr, in nouveau_bo_move_m2mf() 738 nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr, in nouveau_bo_move_flipd() [all …]
|
D | nouveau_gem.c | 45 struct ttm_buffer_object *bo = &nvbo->bo; in nouveau_gem_object_del() 236 struct ttm_buffer_object *bo = &nvbo->bo; in nouveau_gem_set_domain()
|
D | nouveau_drv.h | 102 struct ttm_buffer_object bo; 131 nouveau_bo(struct ttm_buffer_object *bo) in nouveau_bo() 872 struct ttm_buffer_object *bo = &prev->bo; in nouveau_bo_ref()
|
D | nouveau_mem.c | 1130 struct ttm_buffer_object *bo, in nouveau_vram_manager_new() 1216 struct ttm_buffer_object *bo, in nouveau_gart_manager_new()
|
/linux-3.4.99/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 173 static void radeon_evict_flags(struct ttm_buffer_object *bo, in radeon_evict_flags() 203 static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp) in radeon_verify_access() 208 static void radeon_move_null(struct ttm_buffer_object *bo, in radeon_move_null() 218 static int radeon_move_blit(struct ttm_buffer_object *bo, in radeon_move_blit() 305 static int radeon_move_vram_ram(struct ttm_buffer_object *bo, in radeon_move_vram_ram() 352 static int radeon_move_ram_vram(struct ttm_buffer_object *bo, in radeon_move_ram_vram() 391 static int radeon_bo_move(struct ttm_buffer_object *bo, in radeon_bo_move() 810 struct ttm_buffer_object *bo; in radeon_ttm_fault() 814 bo = (struct ttm_buffer_object *)vma->vm_private_data; in radeon_ttm_fault()
|
D | radeon_object.h | 139 extern void radeon_bo_move_notify(struct ttm_buffer_object *bo, 141 extern int radeon_bo_fault_reserve_notify(struct ttm_buffer_object *bo);
|
D | radeon_object.c | 63 static void radeon_ttm_bo_destroy(struct ttm_buffer_object *tbo) in radeon_ttm_bo_destroy() 77 bool radeon_ttm_bo_is_radeon_bo(struct ttm_buffer_object *bo) in radeon_ttm_bo_is_radeon_bo() 213 struct ttm_buffer_object *tbo; in radeon_bo_unref() 571 void radeon_bo_move_notify(struct ttm_buffer_object *bo, in radeon_bo_move_notify() 582 int radeon_bo_fault_reserve_notify(struct ttm_buffer_object *bo) in radeon_bo_fault_reserve_notify()
|
D | radeon.h | 320 struct ttm_buffer_object tbo; 1783 extern bool radeon_ttm_bo_is_radeon_bo(struct ttm_buffer_object *bo);
|