Home
last modified time | relevance | path

Searched refs:new_mem (Results 1 – 18 of 18) sorted by relevance

/linux/include/drm/ttm/
A Dttm_bo_driver.h190 struct ttm_resource *new_mem) in ttm_bo_assign_mem() argument
193 bo->resource = new_mem; in ttm_bo_assign_mem()
204 struct ttm_resource *new_mem) in ttm_bo_move_null() argument
207 ttm_bo_assign_mem(bo, new_mem); in ttm_bo_move_null()
251 struct ttm_resource *new_mem);
272 struct ttm_resource *new_mem);
284 struct ttm_resource *new_mem) in ttm_bo_move_sync_cleanup() argument
286 int ret = ttm_bo_move_accel_cleanup(bo, NULL, true, false, new_mem); in ttm_bo_move_sync_cleanup()
A Dttm_device.h153 struct ttm_resource *new_mem,
/linux/drivers/gpu/drm/radeon/
A Dradeon_ttm.c141 struct ttm_resource *new_mem, in radeon_move_blit() argument
166 switch (new_mem->mem_type) { in radeon_move_blit()
196 struct ttm_resource *new_mem, in radeon_bo_move() argument
204 if (new_mem->mem_type == TTM_PL_TT) { in radeon_bo_move()
224 ttm_bo_move_null(bo, new_mem); in radeon_bo_move()
228 new_mem->mem_type == TTM_PL_TT) { in radeon_bo_move()
229 ttm_bo_move_null(bo, new_mem); in radeon_bo_move()
234 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move()
237 ttm_bo_assign_mem(bo, new_mem); in radeon_bo_move()
243 new_mem->mem_type == TTM_PL_VRAM) || in radeon_bo_move()
[all …]
A Dradeon_object.c729 struct ttm_resource *new_mem) in radeon_bo_move_notify() argument
734 if (new_mem) in radeon_bo_move_notify()
735 radeon_update_memory_usage(bo, new_mem->mem_type, 1); in radeon_bo_move_notify()
A Dradeon_object.h165 struct ttm_resource *new_mem);
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_ttm_buffer.c655 struct ttm_resource *new_mem) in vmw_move_notify() argument
657 vmw_bo_move_notify(bo, new_mem); in vmw_move_notify()
658 vmw_query_move_notify(bo, old_mem, new_mem); in vmw_move_notify()
676 struct ttm_resource *new_mem, in vmw_move() argument
683 if (new_man->use_tt && new_mem->mem_type != TTM_PL_SYSTEM) { in vmw_move()
684 ret = vmw_ttm_bind(bo->bdev, bo->ttm, new_mem); in vmw_move()
689 vmw_move_notify(bo, bo->resource, new_mem); in vmw_move()
693 ttm_bo_move_null(bo, new_mem); in vmw_move()
702 ttm_bo_assign_mem(bo, new_mem); in vmw_move()
705 ret = ttm_bo_move_memcpy(bo, ctx, new_mem); in vmw_move()
[all …]
A Dvmwgfx_resource.c859 struct ttm_resource *new_mem) in vmw_query_move_notify() argument
877 if (new_mem->mem_type == TTM_PL_SYSTEM && in vmw_query_move_notify()
A Dvmwgfx_drv.h802 struct ttm_resource *new_mem);
/linux/drivers/gpu/drm/qxl/
A Dqxl_ttm.c124 struct ttm_resource *new_mem) in qxl_bo_move_notify() argument
135 qxl_surface_evict(qdev, qbo, new_mem ? true : false); in qxl_bo_move_notify()
140 struct ttm_resource *new_mem, in qxl_bo_move() argument
146 qxl_bo_move_notify(bo, new_mem); in qxl_bo_move()
153 ttm_bo_move_null(bo, new_mem); in qxl_bo_move()
156 return ttm_bo_move_memcpy(bo, ctx, new_mem); in qxl_bo_move()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ttm.c379 struct ttm_resource *new_mem, in amdgpu_move_blit() argument
391 dst.mem = new_mem; in amdgpu_move_blit()
465 struct ttm_resource *new_mem, in amdgpu_bo_move() argument
473 if (new_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
488 ttm_bo_move_null(bo, new_mem); in amdgpu_bo_move()
492 (new_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
494 ttm_bo_move_null(bo, new_mem); in amdgpu_bo_move()
506 ttm_bo_assign_mem(bo, new_mem); in amdgpu_bo_move()
515 new_mem->mem_type == AMDGPU_PL_OA) { in amdgpu_bo_move()
517 ttm_bo_move_null(bo, new_mem); in amdgpu_bo_move()
[all …]
A Damdgpu_object.c1208 struct ttm_resource *new_mem) in amdgpu_bo_move_notify() argument
1231 if (!new_mem) in amdgpu_bo_move_notify()
1235 trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type); in amdgpu_bo_move_notify()
A Damdgpu_object.h318 struct ttm_resource *new_mem);
/linux/drivers/pci/hotplug/
A Dibmphp_res.c188 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init() local
286 new_mem = alloc_resources(curr); in ibmphp_rsrc_init()
287 if (!new_mem) in ibmphp_rsrc_init()
289 new_mem->type = MEM; in ibmphp_rsrc_init()
297 if (ibmphp_add_resource(new_mem) < 0) { in ibmphp_rsrc_init()
301 newbus->firstMem = new_mem; in ibmphp_rsrc_init()
303 new_mem->rangeno = -1; in ibmphp_rsrc_init()
305 …y resource for device %x, bus %x, [%x - %x]\n", new_mem->devfunc, new_mem->busno, new_mem->start, in ibmphp_rsrc_init()
/linux/drivers/gpu/drm/
A Ddrm_gem_vram_helper.c576 struct ttm_resource *new_mem) in drm_gem_vram_bo_driver_move() argument
579 return ttm_bo_move_memcpy(&gbo->bo, ctx, new_mem); in drm_gem_vram_bo_driver_move()
908 struct ttm_resource *new_mem, in bo_driver_move() argument
915 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_icm_pool.c328 bool new_mem = false; in dr_icm_handle_buddies_get_mem() local
339 if (WARN_ON(new_mem)) { in dr_icm_handle_buddies_get_mem()
358 new_mem = true; in dr_icm_handle_buddies_get_mem()
/linux/drivers/gpu/drm/ttm/
A Dttm_bo_util.c548 struct ttm_resource *new_mem) in ttm_bo_move_accel_cleanup() argument
552 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
566 ttm_bo_assign_mem(bo, new_mem); in ttm_bo_move_accel_cleanup()
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c765 struct nouveau_mem *new_mem = nouveau_mem(reg); in nouveau_bo_move_prep() local
774 ret = nvif_vmm_get(vmm, LAZY, false, new_mem->mem.page, 0, in nouveau_bo_move_prep()
775 new_mem->mem.size, &old_mem->vma[1]); in nouveau_bo_move_prep()
783 ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]); in nouveau_bo_move_prep()
/linux/drivers/vfio/pci/
A Dvfio_pci_config.c567 bool phys_mem, virt_mem, new_mem, phys_io, virt_io, new_io; in vfio_basic_config_write() local
582 new_mem = !!(new_cmd & PCI_COMMAND_MEMORY); in vfio_basic_config_write()
584 if (!new_mem) in vfio_basic_config_write()
598 if ((new_mem && virt_mem && !phys_mem && in vfio_basic_config_write()

Completed in 63 milliseconds