• Home
  • Raw
  • Download

Lines Matching refs:target_bo

429 			drm_intel_bo *target_bo = bo_gem->reloc_target_info[j].bo;  in drm_intel_gem_dump_validation_list()  local
431 (drm_intel_bo_gem *) target_bo; in drm_intel_gem_dump_validation_list()
443 upper_32_bits(target_bo->offset64), in drm_intel_gem_dump_validation_list()
444 lower_32_bits(target_bo->offset64), in drm_intel_gem_dump_validation_list()
449 drm_intel_bo *target_bo = bo_gem->softpin_target[j]; in drm_intel_gem_dump_validation_list() local
451 (drm_intel_bo_gem *) target_bo; in drm_intel_gem_dump_validation_list()
460 upper_32_bits(target_bo->offset64), in drm_intel_gem_dump_validation_list()
461 lower_32_bits(target_bo->offset64)); in drm_intel_gem_dump_validation_list()
1967 drm_intel_bo *target_bo, uint32_t target_offset, in do_bo_emit_reloc() argument
1973 drm_intel_bo_gem *target_bo_gem = (drm_intel_bo_gem *) target_bo; in do_bo_emit_reloc()
2021 bo_gem->reloc_target_info[bo_gem->reloc_count].bo = target_bo; in do_bo_emit_reloc()
2022 if (target_bo != bo) in do_bo_emit_reloc()
2023 drm_intel_gem_bo_reference(target_bo); in do_bo_emit_reloc()
2036 bo_gem->relocs[bo_gem->reloc_count].presumed_offset = target_bo->offset64; in do_bo_emit_reloc()
2054 drm_intel_gem_bo_add_softpin_target(drm_intel_bo *bo, drm_intel_bo *target_bo) in drm_intel_gem_bo_add_softpin_target() argument
2058 drm_intel_bo_gem *target_bo_gem = (drm_intel_bo_gem *) target_bo; in drm_intel_gem_bo_add_softpin_target()
2084 bo_gem->softpin_target[bo_gem->softpin_target_count] = target_bo; in drm_intel_gem_bo_add_softpin_target()
2085 drm_intel_gem_bo_reference(target_bo); in drm_intel_gem_bo_add_softpin_target()
2093 drm_intel_bo *target_bo, uint32_t target_offset, in drm_intel_gem_bo_emit_reloc() argument
2097 drm_intel_bo_gem *target_bo_gem = (drm_intel_bo_gem *)target_bo; in drm_intel_gem_bo_emit_reloc()
2100 return drm_intel_gem_bo_add_softpin_target(bo, target_bo); in drm_intel_gem_bo_emit_reloc()
2102 return do_bo_emit_reloc(bo, offset, target_bo, target_offset, in drm_intel_gem_bo_emit_reloc()
2109 drm_intel_bo *target_bo, in drm_intel_gem_bo_emit_reloc_fence() argument
2113 return do_bo_emit_reloc(bo, offset, target_bo, target_offset, in drm_intel_gem_bo_emit_reloc_fence()
2190 drm_intel_bo *target_bo = bo_gem->reloc_target_info[i].bo; in drm_intel_gem_bo_process_reloc() local
2192 if (target_bo == bo) in drm_intel_gem_bo_process_reloc()
2198 drm_intel_gem_bo_process_reloc(target_bo); in drm_intel_gem_bo_process_reloc()
2201 drm_intel_add_validate_buffer(target_bo); in drm_intel_gem_bo_process_reloc()
2215 drm_intel_bo *target_bo = bo_gem->reloc_target_info[i].bo; in drm_intel_gem_bo_process_reloc2() local
2218 if (target_bo == bo) in drm_intel_gem_bo_process_reloc2()
2224 drm_intel_gem_bo_process_reloc2(target_bo); in drm_intel_gem_bo_process_reloc2()
2230 drm_intel_add_validate_buffer2(target_bo, need_fence); in drm_intel_gem_bo_process_reloc2()
2234 drm_intel_bo *target_bo = bo_gem->softpin_target[i]; in drm_intel_gem_bo_process_reloc2() local
2236 if (target_bo == bo) in drm_intel_gem_bo_process_reloc2()
2240 drm_intel_gem_bo_process_reloc2(target_bo); in drm_intel_gem_bo_process_reloc2()
2241 drm_intel_add_validate_buffer2(target_bo, false); in drm_intel_gem_bo_process_reloc2()
3046 _drm_intel_gem_bo_references(drm_intel_bo *bo, drm_intel_bo *target_bo) in _drm_intel_gem_bo_references() argument
3052 if (bo_gem->reloc_target_info[i].bo == target_bo) in _drm_intel_gem_bo_references()
3057 target_bo)) in _drm_intel_gem_bo_references()
3062 if (bo_gem->softpin_target[i] == target_bo) in _drm_intel_gem_bo_references()
3064 if (_drm_intel_gem_bo_references(bo_gem->softpin_target[i], target_bo)) in _drm_intel_gem_bo_references()
3073 drm_intel_gem_bo_references(drm_intel_bo *bo, drm_intel_bo *target_bo) in drm_intel_gem_bo_references() argument
3075 drm_intel_bo_gem *target_bo_gem = (drm_intel_bo_gem *) target_bo; in drm_intel_gem_bo_references()
3077 if (bo == NULL || target_bo == NULL) in drm_intel_gem_bo_references()
3080 return _drm_intel_gem_bo_references(bo, target_bo); in drm_intel_gem_bo_references()