Home
last modified time | relevance | path

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

/linux-4.1.27/include/drm/ttm/
Dttm_placement.h39 #define TTM_PL_VRAM 2 macro
50 #define TTM_PL_FLAG_VRAM (1 << TTM_PL_VRAM)
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_ttm.c170 case TTM_PL_VRAM: in qxl_init_mem_type()
233 case TTM_PL_VRAM: in qxl_ttm_io_mem_reserve()
409 r = ttm_bo_init_mm(&qdev->mman.bdev, TTM_PL_VRAM, in qxl_ttm_init()
437 ttm_bo_clean_mm(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_ttm_fini()
480 qxl_mem_types_list[i].data = qdev->mman.bdev.man[TTM_PL_VRAM].priv; in qxl_ttm_debugfs_init()
Dqxl_object.c152 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in qxl_bo_kmap_atomic_page()
192 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in qxl_bo_kunmap_atomic_page()
324 return ttm_bo_evict_mm(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_vram_evict()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_ttm.c162 case TTM_PL_VRAM: in radeon_init_mem_type()
198 case TTM_PL_VRAM: in radeon_evict_flags()
270 case TTM_PL_VRAM: in radeon_move_blit()
281 case TTM_PL_VRAM: in radeon_move_blit()
424 if (old_mem->mem_type == TTM_PL_VRAM && in radeon_bo_move()
429 new_mem->mem_type == TTM_PL_VRAM) { in radeon_bo_move()
475 case TTM_PL_VRAM: in radeon_ttm_io_mem_reserve()
885 r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_VRAM, in radeon_ttm_init()
943 ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_ttm_fini()
961 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; in radeon_ttm_set_active_vram_size()
[all …]
Dradeon_object.c63 case TTM_PL_VRAM: in radeon_update_memory_usage()
399 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_bo_unpin()
417 return ttm_bo_evict_mm(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_bo_evict_vram()
742 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling()
789 if (bo->mem.mem_type != TTM_PL_VRAM) in radeon_bo_fault_reserve_notify()
Dradeon_object.h43 case TTM_PL_VRAM: in radeon_mem_type_to_domain()
Dradeon_gem.c221 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; in radeon_gem_info_ioctl()
Dradeon_pm.c152 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_unmap_vram_bos()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_dmabuf.c226 if (bo->mem.mem_type == TTM_PL_VRAM && in vmw_dmabuf_to_start_of_vram()
283 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr()
Dvmwgfx_drv.c792 ret = ttm_bo_init_mm(&dev_priv->bdev, TTM_PL_VRAM, in vmw_driver_load()
847 (void)ttm_bo_clean_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_driver_load()
897 (void)ttm_bo_clean_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_driver_unload()
1167 ret = ttm_bo_evict_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_master_set()
1221 ret = ttm_bo_evict_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_master_drop()
Dvmwgfx_buffer.c725 case TTM_PL_VRAM: in vmw_init_mem_type()
784 case TTM_PL_VRAM: in vmw_ttm_io_mem_reserve()
Dvmwgfx_fifo.c566 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_fifo_emit_dummy_legacy_query()
Dvmwgfx_execbuf.c2166 case TTM_PL_VRAM: in vmw_apply_relocations()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c122 case TTM_PL_VRAM: in cirrus_bo_init_mem_type()
173 case TTM_PL_VRAM: in cirrus_ttm_io_mem_reserve()
271 ret = ttm_bo_init_mm(bdev, TTM_PL_VRAM, in cirrus_mm_init()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c122 case TTM_PL_VRAM: in mgag200_bo_init_mem_type()
173 case TTM_PL_VRAM: in mgag200_ttm_io_mem_reserve()
271 ret = ttm_bo_init_mm(bdev, TTM_PL_VRAM, mdev->mc.vram_size >> PAGE_SHIFT); in mgag200_mm_init()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_ttm.c122 case TTM_PL_VRAM: in ast_bo_init_mem_type()
173 case TTM_PL_VRAM: in ast_ttm_io_mem_reserve()
271 ret = ttm_bo_init_mm(bdev, TTM_PL_VRAM, in ast_mm_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_bo.c327 if (bo->mem.mem_type == TTM_PL_VRAM) { in nouveau_bo_pin()
369 case TTM_PL_VRAM: in nouveau_bo_pin()
407 case TTM_PL_VRAM: in nouveau_bo_unpin()
614 case TTM_PL_VRAM: in nouveau_bo_init_mem_type()
669 case TTM_PL_VRAM: in nouveau_bo_evict_flags()
1244 (new_mem->mem_type == TTM_PL_VRAM || in nouveau_bo_move_ntfy()
1263 if (new_mem->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind()
1385 case TTM_PL_VRAM: in nouveau_ttm_io_mem_reserve()
1431 if (bo->mem.mem_type != TTM_PL_VRAM) { in nouveau_ttm_fault_reserve_notify()
1643 (nvbo->bo.mem.mem_type == TTM_PL_VRAM || in nouveau_bo_vma_add()
Dnouveau_ttm.c395 ret = ttm_bo_init_mm(&drm->ttm.bdev, TTM_PL_VRAM, in nouveau_ttm_init()
428 ttm_bo_clean_mm(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini()
Dnouveau_gem.c306 bo->mem.mem_type == TTM_PL_VRAM) in nouveau_gem_set_domain()
500 ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && in validate_list()
Dnouveau_chan.c141 if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { in nouveau_channel_prep()
Dnouveau_abi16.c294 if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_abi16_ioctl_channel_alloc()
Dnouveau_drm.c564 ttm_bo_evict_mm(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_do_suspend()
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_mm.c99 case TTM_PL_VRAM: in bochs_bo_init_mem_type()
151 case TTM_PL_VRAM: in bochs_ttm_io_mem_reserve()
237 ret = ttm_bo_init_mm(bdev, TTM_PL_VRAM, in bochs_mm_init()