Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/radeon/
A 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
224 if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
230 if (old_mem->mem_type == TTM_PL_TT && in radeon_bo_move()
239 if ((old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
241 (old_mem->mem_type == TTM_PL_VRAM && in radeon_bo_move()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ttm.c360 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
370 src.mem = old_mem; in amdgpu_move_blit()
383 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
476 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
481 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
487 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
500 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
501 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
502 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move()
513 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move()
[all …]
A Damdgpu_object.c1242 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move_notify() local
1265 trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type); in amdgpu_bo_move_notify()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c767 struct nouveau_mem *old_mem = nouveau_mem(bo->resource); in nouveau_bo_move_prep() local
772 ret = nvif_vmm_get(vmm, LAZY, false, old_mem->mem.page, 0, in nouveau_bo_move_prep()
773 old_mem->mem.size, &old_mem->vma[0]); in nouveau_bo_move_prep()
778 new_mem->mem.size, &old_mem->vma[1]); in nouveau_bo_move_prep()
782 ret = nouveau_mem_map(old_mem, vmm, &old_mem->vma[0]); in nouveau_bo_move_prep()
786 ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]); in nouveau_bo_move_prep()
789 nvif_vmm_put(vmm, &old_mem->vma[1]); in nouveau_bo_move_prep()
790 nvif_vmm_put(vmm, &old_mem->vma[0]); in nouveau_bo_move_prep()
/linux-6.3-rc2/drivers/gpu/drm/qxl/
A Dqxl_ttm.c143 struct ttm_resource *old_mem = bo->resource; in qxl_bo_move() local
152 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_ttm_buffer.c569 struct ttm_resource *old_mem, in vmw_move_notify() argument
573 vmw_query_move_notify(bo, old_mem, new_mem); in vmw_move_notify()
A Dvmwgfx_resource.c822 struct ttm_resource *old_mem, in vmw_query_move_notify() argument
835 old_mem->mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
A Dvmwgfx_drv.h851 struct ttm_resource *old_mem,

Completed in 37 milliseconds