/linux-4.1.27/include/drm/ttm/ |
D | ttm_placement.h | 39 #define TTM_PL_VRAM 2 macro 50 #define TTM_PL_FLAG_VRAM (1 << TTM_PL_VRAM)
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 170 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()
|
D | qxl_object.c | 152 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/ |
D | radeon_ttm.c | 162 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 …]
|
D | radeon_object.c | 63 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()
|
D | radeon_object.h | 43 case TTM_PL_VRAM: in radeon_mem_type_to_domain()
|
D | radeon_gem.c | 221 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; in radeon_gem_info_ioctl()
|
D | radeon_pm.c | 152 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_unmap_vram_bos()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_dmabuf.c | 226 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()
|
D | vmwgfx_drv.c | 792 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()
|
D | vmwgfx_buffer.c | 725 case TTM_PL_VRAM: in vmw_init_mem_type() 784 case TTM_PL_VRAM: in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_fifo.c | 566 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_fifo_emit_dummy_legacy_query()
|
D | vmwgfx_execbuf.c | 2166 case TTM_PL_VRAM: in vmw_apply_relocations()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
D | cirrus_ttm.c | 122 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/ |
D | mgag200_ttm.c | 122 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/ |
D | ast_ttm.c | 122 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/ |
D | nouveau_bo.c | 327 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()
|
D | nouveau_ttm.c | 395 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()
|
D | nouveau_gem.c | 306 bo->mem.mem_type == TTM_PL_VRAM) in nouveau_gem_set_domain() 500 ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && in validate_list()
|
D | nouveau_chan.c | 141 if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { in nouveau_channel_prep()
|
D | nouveau_abi16.c | 294 if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_abi16_ioctl_channel_alloc()
|
D | nouveau_drm.c | 564 ttm_bo_evict_mm(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_do_suspend()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 99 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()
|