Home
last modified time | relevance | path

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

/linux-4.4.14/include/drm/ttm/
Dttm_placement.h39 #define TTM_PL_VRAM 2 macro
50 #define TTM_PL_FLAG_VRAM (1 << TTM_PL_VRAM)
/linux-4.4.14/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()
319 return ttm_bo_evict_mm(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_vram_evict()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c148 case TTM_PL_VRAM: in amdgpu_init_mem_type()
193 case TTM_PL_VRAM: in amdgpu_evict_flags()
240 case TTM_PL_VRAM: in amdgpu_move_blit()
251 case TTM_PL_VRAM: in amdgpu_move_blit()
394 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()
399 new_mem->mem_type == TTM_PL_VRAM) { in amdgpu_bo_move()
437 case TTM_PL_VRAM: in amdgpu_ttm_io_mem_reserve()
876 r = ttm_bo_init_mm(&adev->mman.bdev, TTM_PL_VRAM, in amdgpu_ttm_init()
968 ttm_bo_clean_mm(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_ttm_fini()
989 man = &adev->mman.bdev.man[TTM_PL_VRAM]; in amdgpu_ttm_set_active_vram_size()
[all …]
Damdgpu_object.c70 case TTM_PL_VRAM: in amdgpu_update_memory_usage()
83 case TTM_PL_VRAM: in amdgpu_update_memory_usage()
453 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in amdgpu_bo_unpin()
470 return ttm_bo_evict_mm(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_bo_evict_vram()
618 if (bo->mem.mem_type != TTM_PL_VRAM) in amdgpu_bo_fault_reserve_notify()
Damdgpu_object.h43 case TTM_PL_VRAM: in amdgpu_mem_type_to_domain()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c830 ret = ttm_bo_init_mm(&dev_priv->bdev, TTM_PL_VRAM, in vmw_driver_load()
836 dev_priv->bdev.man[TTM_PL_VRAM].use_type = false; in vmw_driver_load()
895 (void)ttm_bo_clean_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_driver_load()
946 (void)ttm_bo_clean_mm(&dev_priv->bdev, TTM_PL_VRAM); in vmw_driver_unload()
1265 if (!dev_priv->bdev.man[TTM_PL_VRAM].use_type) { in __vmw_svga_enable()
1267 dev_priv->bdev.man[TTM_PL_VRAM].use_type = true; in __vmw_svga_enable()
1294 if (dev_priv->bdev.man[TTM_PL_VRAM].use_type) { in __vmw_svga_disable()
1295 dev_priv->bdev.man[TTM_PL_VRAM].use_type = false; in __vmw_svga_disable()
1314 if (dev_priv->bdev.man[TTM_PL_VRAM].use_type) { in vmw_svga_disable()
1315 dev_priv->bdev.man[TTM_PL_VRAM].use_type = false; in vmw_svga_disable()
[all …]
Dvmwgfx_dmabuf.c186 if (bo->mem.mem_type == TTM_PL_VRAM && in vmw_dmabuf_pin_in_start_of_vram()
251 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr()
Dvmwgfx_buffer.c738 case TTM_PL_VRAM: in vmw_init_mem_type()
797 case TTM_PL_VRAM: in vmw_ttm_io_mem_reserve()
Dvmwgfx_fifo.c616 if (bo->mem.mem_type == TTM_PL_VRAM) { in vmw_fifo_emit_dummy_legacy_query()
Dvmwgfx_execbuf.c3471 case TTM_PL_VRAM: in vmw_apply_relocations()
/linux-4.4.14/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()
406 if (bo->tbo.mem.mem_type == TTM_PL_VRAM) in radeon_bo_unpin()
424 return ttm_bo_evict_mm(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_bo_evict_vram()
747 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling()
794 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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bo.c322 if (bo->mem.mem_type == TTM_PL_VRAM) { in nouveau_bo_pin()
364 case TTM_PL_VRAM: in nouveau_bo_pin()
402 case TTM_PL_VRAM: in nouveau_bo_unpin()
608 case TTM_PL_VRAM: in nouveau_bo_init_mem_type()
663 case TTM_PL_VRAM: in nouveau_bo_evict_flags()
1238 (new_mem->mem_type == TTM_PL_VRAM || in nouveau_bo_move_ntfy()
1257 if (new_mem->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind()
1380 case TTM_PL_VRAM: in nouveau_ttm_io_mem_reserve()
1429 if (bo->mem.mem_type != TTM_PL_VRAM) { in nouveau_ttm_fault_reserve_notify()
1641 (nvbo->bo.mem.mem_type == TTM_PL_VRAM || in nouveau_bo_vma_add()
Dnouveau_ttm.c400 ret = ttm_bo_init_mm(&drm->ttm.bdev, TTM_PL_VRAM, in nouveau_ttm_init()
432 ttm_bo_clean_mm(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini()
Dnouveau_gem.c308 bo->mem.mem_type == TTM_PL_VRAM) in nouveau_gem_set_domain()
502 ((nvbo->bo.mem.mem_type == TTM_PL_VRAM && in validate_list()
Dnouveau_chan.c143 if (chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) { in nouveau_channel_prep()
Dnouveau_abi16.c297 if (chan->chan->push.buffer->bo.mem.mem_type == TTM_PL_VRAM) in nouveau_abi16_ioctl_channel_alloc()
Dnouveau_drm.c547 ttm_bo_evict_mm(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_do_suspend()
/linux-4.4.14/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()