Home
last modified time | relevance | path

Searched refs:TTM_PL_VRAM (Results 1 – 20 of 20) sorted by relevance

/linux-3.4.99/include/drm/ttm/
Dttm_placement.h39 #define TTM_PL_VRAM 2 macro
50 #define TTM_PL_FLAG_VRAM (1 << TTM_PL_VRAM)
/linux-3.4.99/drivers/gpu/drm/vmwgfx/
Dvmwgfx_dmabuf.c224 if (bo->mem.mem_type == TTM_PL_VRAM && in vmw_dmabuf_to_start_of_vram()
282 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr()
308 BUG_ON(old_mem_type != TTM_PL_VRAM && in vmw_bo_pin()
Dvmwgfx_buffer.c218 case TTM_PL_VRAM: in vmw_init_mem_type()
276 case TTM_PL_VRAM: in vmw_ttm_io_mem_reserve()
Dvmwgfx_drv.c550 ret = ttm_bo_init_mm(&dev_priv->bdev, TTM_PL_VRAM, in vmw_driver_load()
682 (void)ttm_bo_clean_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_driver_load()
724 (void)ttm_bo_clean_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_driver_unload()
909 ret = ttm_bo_evict_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_master_set()
966 ret = ttm_bo_evict_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_master_drop()
Dvmwgfx_fifo.c557 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_fifo_emit_dummy_query()
Dvmwgfx_execbuf.c873 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_apply_relocations()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_ttm.c157 case TTM_PL_VRAM: in radeon_init_mem_type()
190 case TTM_PL_VRAM: in radeon_evict_flags()
237 case TTM_PL_VRAM: in radeon_move_blit()
248 case TTM_PL_VRAM: in radeon_move_blit()
419 if (old_mem->mem_type == TTM_PL_VRAM && in radeon_bo_move()
424 new_mem->mem_type == TTM_PL_VRAM) { in radeon_bo_move()
464 case TTM_PL_VRAM: in radeon_ttm_io_mem_reserve()
725 r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_VRAM, in radeon_ttm_init()
782 ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_ttm_fini()
800 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; in radeon_ttm_set_active_vram_size()
[all …]
Dradeon_object.h43 case TTM_PL_VRAM: in radeon_mem_type_to_domain()
Dradeon_object.c309 return ttm_bo_evict_mm(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_bo_evict_vram()
556 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling()
594 if (bo->mem.mem_type == TTM_PL_VRAM) { in radeon_bo_fault_reserve_notify()
Dradeon_gem.c169 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; in radeon_gem_info_ioctl()
292 case TTM_PL_VRAM: in radeon_gem_busy_ioctl()
Dradeon_gart.c527 case TTM_PL_VRAM: in radeon_vm_get_addr()
Dradeon_pm.c162 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_unmap_vram_bos()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_bo.c217 case TTM_PL_VRAM: in nouveau_bo_pin()
253 case TTM_PL_VRAM: in nouveau_bo_unpin()
398 case TTM_PL_VRAM: in nouveau_bo_init_mem_type()
450 case TTM_PL_VRAM: in nouveau_bo_evict_flags()
543 if (new_mem->mem_type == TTM_PL_VRAM && in nv50_bo_move_m2mf()
565 if (old_mem->mem_type == TTM_PL_VRAM && in nv50_bo_move_m2mf()
682 if (mem->mem_type == TTM_PL_VRAM) in nouveau_vma_getmap()
815 if (new_mem && new_mem->mem_type == TTM_PL_VRAM) { in nouveau_bo_move_ntfy()
839 if (new_mem->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind()
953 case TTM_PL_VRAM: in nouveau_ttm_io_mem_reserve()
[all …]
Dnouveau_notifier.c131 if (chan->notifier_bo->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_notifier_alloc()
Dnouveau_debugfs.c167 ret = ttm_bo_evict_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM); in nouveau_debugfs_evict_vram()
Dnouveau_gem.c251 bo->mem.mem_type == TTM_PL_VRAM) in nouveau_gem_set_domain()
445 ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && in validate_list()
Dnouveau_drv.c216 ttm_bo_evict_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM); in nouveau_pci_suspend()
Dnouveau_channel.c430 else if (chan->pushbuf_bo->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_ioctl_fifo_alloc()
Dnouveau_mem.c410 ret = ttm_bo_init_mm(bdev, TTM_PL_VRAM, in nouveau_mem_vram_init()
Dnouveau_state.c954 ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM); in nouveau_card_takedown()