Home
last modified time | relevance | path

Searched refs:old_mem (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_ttm.c142 struct ttm_resource *old_mem) in radeon_move_blit() argument
152 old_start = (u64)old_mem->start << PAGE_SHIFT; in radeon_move_blit()
155 switch (old_mem->mem_type) { in radeon_move_blit()
163 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
174 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
199 struct ttm_resource *old_mem = bo->resource; in radeon_bo_move() local
220 old_type = old_mem->mem_type; in radeon_bo_move()
223 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in radeon_bo_move()
227 if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
233 if (old_mem->mem_type == TTM_PL_TT && in radeon_bo_move()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c377 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
387 src.mem = old_mem; in amdgpu_move_blit()
400 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
467 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local
484 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in amdgpu_bo_move()
488 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
494 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
495 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move()
507 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
508 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_bo.c766 struct nouveau_mem *old_mem = nouveau_mem(bo->resource); in nouveau_bo_move_prep() local
771 ret = nvif_vmm_get(vmm, LAZY, false, old_mem->mem.page, 0, in nouveau_bo_move_prep()
772 old_mem->mem.size, &old_mem->vma[0]); in nouveau_bo_move_prep()
777 new_mem->mem.size, &old_mem->vma[1]); in nouveau_bo_move_prep()
781 ret = nouveau_mem_map(old_mem, vmm, &old_mem->vma[0]); in nouveau_bo_move_prep()
785 ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]); in nouveau_bo_move_prep()
788 nvif_vmm_put(vmm, &old_mem->vma[1]); in nouveau_bo_move_prep()
789 nvif_vmm_put(vmm, &old_mem->vma[0]); in nouveau_bo_move_prep()
/drivers/gpu/drm/qxl/
Dqxl_ttm.c144 struct ttm_resource *old_mem = bo->resource; in qxl_bo_move() local
153 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c647 struct ttm_resource *old_mem, in vmw_move_notify() argument
651 vmw_query_move_notify(bo, old_mem, new_mem); in vmw_move_notify()
Dvmwgfx_resource.c858 struct ttm_resource *old_mem, in vmw_query_move_notify() argument
871 old_mem->mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
Dvmwgfx_drv.h799 struct ttm_resource *old_mem,