Home
last modified time | relevance | path

Searched refs:src_bo (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_benchmark.c13 typedef void (*lsdc_copy_proc_t)(struct lsdc_bo *src_bo,
18 static void lsdc_copy_gtt_to_vram_cpu(struct lsdc_bo *src_bo, in lsdc_copy_gtt_to_vram_cpu() argument
23 lsdc_bo_kmap(src_bo); in lsdc_copy_gtt_to_vram_cpu()
27 memcpy_toio(dst_bo->kptr, src_bo->kptr, size); in lsdc_copy_gtt_to_vram_cpu()
29 lsdc_bo_kunmap(src_bo); in lsdc_copy_gtt_to_vram_cpu()
33 static void lsdc_copy_vram_to_gtt_cpu(struct lsdc_bo *src_bo, in lsdc_copy_vram_to_gtt_cpu() argument
38 lsdc_bo_kmap(src_bo); in lsdc_copy_vram_to_gtt_cpu()
42 memcpy_fromio(dst_bo->kptr, src_bo->kptr, size); in lsdc_copy_vram_to_gtt_cpu()
44 lsdc_bo_kunmap(src_bo); in lsdc_copy_vram_to_gtt_cpu()
48 static void lsdc_copy_gtt_to_gtt_cpu(struct lsdc_bo *src_bo, in lsdc_copy_gtt_to_gtt_cpu() argument
[all …]
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_ioctl.c75 struct qxl_bo *src_bo; member
91 info->src_bo, in apply_reloc()
102 if (info->src_bo && !info->src_bo->is_primary) in apply_surf_reloc()
103 id = info->src_bo->surface_id; in apply_surf_reloc()
238 &reloc_info[i].src_bo); in qxl_process_single_command()
243 reloc_info[i].src_bo = NULL; in qxl_process_single_command()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.c709 struct ttm_buffer_object *src_bo = i915_gem_to_ttm(src); in i915_gem_obj_copy_ttm() local
721 if (GEM_WARN_ON(!src_bo->resource || !dst_bo->resource)) in i915_gem_obj_copy_ttm()
726 ret = dma_resv_reserve_fences(src_bo->base.resv, 1); in i915_gem_obj_copy_ttm()
738 ret = i915_deps_add_resv(&deps, src_bo->base.resv, &ctx); in i915_gem_obj_copy_ttm()
743 copy_fence = __i915_ttm_move(src_bo, &ctx, false, dst_bo->resource, in i915_gem_obj_copy_ttm()
753 dma_resv_add_fence(src_bo->base.resv, copy_fence, DMA_RESV_USAGE_READ); in i915_gem_obj_copy_ttm()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_stdu.c500 struct vmw_bo *src_bo, *dst_bo; in vmw_stdu_bo_cpu_commit() local
515 src_bo = stdu->display_srf->res.guest_memory_bo; in vmw_stdu_bo_cpu_commit()
523 src_bo, src_offset, src_pitch, in vmw_stdu_bo_cpu_commit()
1143 struct vmw_bo *src_bo, *dst_bo; in vmw_stdu_bo_populate_update_cpu() local
1161 src_bo = vfbbo->buffer; in vmw_stdu_bo_populate_update_cpu()
1166 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, src_bo, in vmw_stdu_bo_populate_update_cpu()