old_mem 1261 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 1280 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type); old_mem 246 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 248 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c BUG_ON(old_mem->mm_node != NULL); old_mem 249 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c *old_mem = *new_mem; old_mem 428 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_reg *old_mem) old_mem 437 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c src.mem = old_mem; old_mem 449 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == TTM_PL_VRAM && old_mem 489 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 526 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, &tmp_mem, old_mem); old_mem 548 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 579 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, new_mem, old_mem); old_mem 623 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 633 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { old_mem 637 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if ((old_mem->mem_type == TTM_PL_TT && old_mem 639 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c (old_mem->mem_type == TTM_PL_SYSTEM && old_mem 645 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == AMDGPU_PL_GDS || old_mem 646 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c old_mem->mem_type == AMDGPU_PL_GWS || old_mem 647 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c old_mem->mem_type == AMDGPU_PL_OA || old_mem 661 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (old_mem->mem_type == TTM_PL_VRAM && old_mem 664 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c } else if (old_mem->mem_type == TTM_PL_SYSTEM && old_mem 669 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem, old_mem); old_mem 675 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!amdgpu_mem_visible(adev, old_mem) || old_mem 688 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c old_mem->mem_type != TTM_PL_VRAM) { old_mem 1095 drivers/gpu/drm/nouveau/nouveau_bo.c struct nouveau_mem *old_mem = nouveau_mem(&bo->mem); old_mem 1100 drivers/gpu/drm/nouveau/nouveau_bo.c ret = nvif_vmm_get(vmm, LAZY, false, old_mem->mem.page, 0, old_mem 1101 drivers/gpu/drm/nouveau/nouveau_bo.c old_mem->mem.size, &old_mem->vma[0]); old_mem 1106 drivers/gpu/drm/nouveau/nouveau_bo.c new_mem->mem.size, &old_mem->vma[1]); old_mem 1110 drivers/gpu/drm/nouveau/nouveau_bo.c ret = nouveau_mem_map(old_mem, vmm, &old_mem->vma[0]); old_mem 1114 drivers/gpu/drm/nouveau/nouveau_bo.c ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]); old_mem 1117 drivers/gpu/drm/nouveau/nouveau_bo.c nvif_vmm_put(vmm, &old_mem->vma[1]); old_mem 1118 drivers/gpu/drm/nouveau/nouveau_bo.c nvif_vmm_put(vmm, &old_mem->vma[0]); old_mem 265 drivers/gpu/drm/qxl/qxl_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 267 drivers/gpu/drm/qxl/qxl_ttm.c BUG_ON(old_mem->mm_node != NULL); old_mem 268 drivers/gpu/drm/qxl/qxl_ttm.c *old_mem = *new_mem; old_mem 276 drivers/gpu/drm/qxl/qxl_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 283 drivers/gpu/drm/qxl/qxl_ttm.c if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { old_mem 194 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 196 drivers/gpu/drm/radeon/radeon_ttm.c BUG_ON(old_mem->mm_node != NULL); old_mem 197 drivers/gpu/drm/radeon/radeon_ttm.c *old_mem = *new_mem; old_mem 204 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_reg *old_mem) old_mem 214 drivers/gpu/drm/radeon/radeon_ttm.c old_start = (u64)old_mem->start << PAGE_SHIFT; old_mem 217 drivers/gpu/drm/radeon/radeon_ttm.c switch (old_mem->mem_type) { old_mem 225 drivers/gpu/drm/radeon/radeon_ttm.c DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); old_mem 236 drivers/gpu/drm/radeon/radeon_ttm.c DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); old_mem 262 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 291 drivers/gpu/drm/radeon/radeon_ttm.c r = radeon_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); old_mem 307 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 330 drivers/gpu/drm/radeon/radeon_ttm.c r = radeon_move_blit(bo, true, no_wait_gpu, new_mem, old_mem); old_mem 345 drivers/gpu/drm/radeon/radeon_ttm.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 358 drivers/gpu/drm/radeon/radeon_ttm.c if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { old_mem 362 drivers/gpu/drm/radeon/radeon_ttm.c if ((old_mem->mem_type == TTM_PL_TT && old_mem 364 drivers/gpu/drm/radeon/radeon_ttm.c (old_mem->mem_type == TTM_PL_SYSTEM && old_mem 376 drivers/gpu/drm/radeon/radeon_ttm.c if (old_mem->mem_type == TTM_PL_VRAM && old_mem 380 drivers/gpu/drm/radeon/radeon_ttm.c } else if (old_mem->mem_type == TTM_PL_SYSTEM && old_mem 386 drivers/gpu/drm/radeon/radeon_ttm.c new_mem, old_mem); old_mem 58 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 61 drivers/gpu/drm/ttm/ttm_bo_util.c if (old_mem->mem_type != TTM_PL_SYSTEM) { old_mem 72 drivers/gpu/drm/ttm/ttm_bo_util.c ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM, old_mem 74 drivers/gpu/drm/ttm/ttm_bo_util.c old_mem->mem_type = TTM_PL_SYSTEM; old_mem 87 drivers/gpu/drm/ttm/ttm_bo_util.c *old_mem = *new_mem; old_mem 363 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 364 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_reg old_copy = *old_mem; old_mem 377 drivers/gpu/drm/ttm/ttm_bo_util.c ret = ttm_mem_reg_ioremap(bdev, old_mem, &old_iomap); old_mem 412 drivers/gpu/drm/ttm/ttm_bo_util.c if ((old_mem->mem_type == new_mem->mem_type) && old_mem 413 drivers/gpu/drm/ttm/ttm_bo_util.c (new_mem->start < old_mem->start + old_mem->size)) { old_mem 421 drivers/gpu/drm/ttm/ttm_bo_util.c pgprot_t prot = ttm_io_prot(old_mem->placement, old_mem 438 drivers/gpu/drm/ttm/ttm_bo_util.c old_copy = *old_mem; old_mem 439 drivers/gpu/drm/ttm/ttm_bo_util.c *old_mem = *new_mem; old_mem 448 drivers/gpu/drm/ttm/ttm_bo_util.c ttm_mem_reg_iounmap(bdev, old_mem, new_iomap); old_mem 688 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 736 drivers/gpu/drm/ttm/ttm_bo_util.c *old_mem = *new_mem; old_mem 748 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_reg *old_mem = &bo->mem; old_mem 750 drivers/gpu/drm/ttm/ttm_bo_util.c struct ttm_mem_type_manager *from = &bdev->man[old_mem->mem_type]; old_mem 828 drivers/gpu/drm/ttm/ttm_bo_util.c *old_mem = *new_mem;