Searched refs:old_mem (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 141 struct ttm_resource *old_mem) in radeon_move_blit() argument 151 old_start = (u64)old_mem->start << PAGE_SHIFT; in radeon_move_blit() 154 switch (old_mem->mem_type) { in radeon_move_blit() 162 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit() 173 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit() 198 struct ttm_resource *old_mem = bo->resource; in radeon_bo_move() local 215 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 220 if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 226 if (old_mem->mem_type == TTM_PL_TT && in radeon_bo_move() 235 if ((old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() [all …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 167 struct ttm_resource *old_mem = tbo->resource; in lsdc_bo_move() local 180 if (!old_mem) { in lsdc_bo_move() 188 if (old_mem->mem_type == TTM_PL_SYSTEM && !tbo->ttm) { in lsdc_bo_move() 195 if (old_mem->mem_type == TTM_PL_SYSTEM && in lsdc_bo_move() 203 if (old_mem->mem_type == TTM_PL_TT && in lsdc_bo_move() 214 lsdc_mem_type_to_str(old_mem->mem_type), in lsdc_bo_move()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 143 struct ttm_resource *old_mem = bo->resource; in qxl_bo_move() local 146 if (!old_mem) { in qxl_bo_move() 163 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 359 struct ttm_resource *old_mem) in amdgpu_move_blit() argument 369 src.mem = old_mem; in amdgpu_move_blit() 382 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit() 474 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local 487 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 493 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 500 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move() 501 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move() 514 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move() 515 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move() [all …]
|
H A D | amdgpu_object.c | 1265 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move_notify() local 1277 old_mem && old_mem->mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify() 1282 old_mem ? old_mem->mem_type : -1); in amdgpu_bo_move_notify()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 811 struct nouveau_mem *old_mem = nouveau_mem(bo->resource); in nouveau_bo_move_prep() local 816 ret = nvif_vmm_get(vmm, LAZY, false, old_mem->mem.page, 0, in nouveau_bo_move_prep() 817 old_mem->mem.size, &old_mem->vma[0]); in nouveau_bo_move_prep() 822 new_mem->mem.size, &old_mem->vma[1]); in nouveau_bo_move_prep() 826 ret = nouveau_mem_map(old_mem, vmm, &old_mem->vma[0]); in nouveau_bo_move_prep() 830 ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]); in nouveau_bo_move_prep() 833 nvif_vmm_put(vmm, &old_mem->vma[1]); in nouveau_bo_move_prep() 834 nvif_vmm_put(vmm, &old_mem->vma[0]); in nouveau_bo_move_prep()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 504 struct ttm_resource *old_mem, in vmw_move_notify() argument 508 vmw_query_move_notify(bo, old_mem, new_mem); in vmw_move_notify()
|
H A D | vmwgfx_resource.c | 830 struct ttm_resource *old_mem, in vmw_query_move_notify() argument 840 if (old_mem && in vmw_query_move_notify() 842 old_mem->mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
|
H A D | vmwgfx_drv.h | 830 struct ttm_resource *old_mem,
|