Lines Matching refs:shadow
423 if (vmbo->shadow) { in amdgpu_vm_pt_clear()
424 struct amdgpu_bo *shadow = vmbo->shadow; in amdgpu_vm_pt_clear() local
426 r = ttm_bo_validate(&shadow->tbo, &shadow->placement, &ctx); in amdgpu_vm_pt_clear()
541 (*vmbo)->shadow = NULL; in amdgpu_vm_pt_create()
557 r = amdgpu_bo_create(adev, &bp, &(*vmbo)->shadow); in amdgpu_vm_pt_create()
567 (*vmbo)->shadow->parent = amdgpu_bo_ref(bo); in amdgpu_vm_pt_create()
619 amdgpu_bo_unref(&pt->shadow); in amdgpu_vm_pt_alloc()
631 struct amdgpu_bo *shadow; in amdgpu_vm_pt_free() local
635 shadow = amdgpu_bo_shadowed(entry->bo); in amdgpu_vm_pt_free()
636 if (shadow) { in amdgpu_vm_pt_free()
637 ttm_bo_set_bulk_move(&shadow->tbo, NULL); in amdgpu_vm_pt_free()
638 amdgpu_bo_unref(&shadow); in amdgpu_vm_pt_free()