Searched refs:old_mem (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 142 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() 199 struct ttm_resource *old_mem = bo->resource; in radeon_bo_move() local 220 old_type = old_mem->mem_type; 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() 242 if ((old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 244 (old_mem->mem_type == TTM_PL_VRAM && in radeon_bo_move() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ttm.c | 380 struct ttm_resource *old_mem) in amdgpu_move_blit() argument 390 src.mem = old_mem; in amdgpu_move_blit() 403 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit() 491 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 497 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move() 510 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move() 511 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move() 512 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move() 523 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move() 533 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move() [all …]
|
A D | amdgpu_object.c | 1212 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move_notify() local 1235 trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type); in amdgpu_bo_move_notify()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_bo.c | 764 struct nouveau_mem *old_mem = nouveau_mem(bo->resource); in nouveau_bo_move_prep() local 769 ret = nvif_vmm_get(vmm, LAZY, false, old_mem->mem.page, 0, in nouveau_bo_move_prep() 770 old_mem->mem.size, &old_mem->vma[0]); in nouveau_bo_move_prep() 775 new_mem->mem.size, &old_mem->vma[1]); in nouveau_bo_move_prep() 779 ret = nouveau_mem_map(old_mem, vmm, &old_mem->vma[0]); in nouveau_bo_move_prep() 783 ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]); in nouveau_bo_move_prep() 786 nvif_vmm_put(vmm, &old_mem->vma[1]); in nouveau_bo_move_prep() 787 nvif_vmm_put(vmm, &old_mem->vma[0]); in nouveau_bo_move_prep()
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_ttm.c | 143 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/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ttm_buffer.c | 654 struct ttm_resource *old_mem, in vmw_move_notify() argument 658 vmw_query_move_notify(bo, old_mem, new_mem); in vmw_move_notify()
|
A D | vmwgfx_resource.c | 858 struct ttm_resource *old_mem, in vmw_query_move_notify() argument 878 old_mem->mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
|
A D | vmwgfx_drv.h | 801 struct ttm_resource *old_mem,
|
Completed in 34 milliseconds