Searched refs:src_bo (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/loongson/ |
D | lsdc_benchmark.c | 13 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 …]
|
/linux-6.12.1/drivers/gpu/drm/qxl/ |
D | qxl_ioctl.c | 75 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() 236 &reloc_info[i].src_bo); in qxl_process_single_command() 241 reloc_info[i].src_bo = NULL; in qxl_process_single_command()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_ttm_move.c | 709 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()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_migrate.c | 761 struct xe_bo *src_bo, in xe_migrate_copy() argument 770 u64 size = src_bo->size; in xe_migrate_copy() 782 xe_bo_needs_ccs_pages(src_bo) && xe_bo_needs_ccs_pages(dst_bo); in xe_migrate_copy() 788 if (XE_WARN_ON(copy_ccs && src_bo != dst_bo)) in xe_migrate_copy() 791 if (src_bo != dst_bo && XE_WARN_ON(src_bo->size != dst_bo->size)) in xe_migrate_copy() 795 xe_res_first_sg(xe_bo_sg(src_bo), 0, size, &src_it); in xe_migrate_copy() 804 xe_res_first_sg(xe_bo_sg(src_bo), xe_bo_ccs_pages_start(src_bo), in xe_migrate_copy() 897 err = xe_sched_job_add_deps(job, src_bo->ttm.base.resv, in xe_migrate_copy() 899 if (!err && src_bo != dst_bo) in xe_migrate_copy()
|
D | xe_migrate.h | 99 struct xe_bo *src_bo,
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 505 struct vmw_bo *src_bo, *dst_bo; in vmw_stdu_bo_cpu_commit() local 520 src_bo = stdu->display_srf->res.guest_memory_bo; in vmw_stdu_bo_cpu_commit() 528 src_bo, src_offset, src_pitch, in vmw_stdu_bo_cpu_commit() 1177 struct vmw_bo *src_bo, *dst_bo; in vmw_stdu_bo_populate_update_cpu() local 1195 src_bo = vfbbo->buffer; in vmw_stdu_bo_populate_update_cpu() 1200 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, src_bo, in vmw_stdu_bo_populate_update_cpu()
|
/linux-6.12.1/drivers/gpu/drm/xe/tests/ |
D | xe_migrate.c | 368 struct xe_bo *src_bo, struct xe_bo *dst_bo, in blt_copy() argument 375 u64 size = src_bo->size; in blt_copy() 377 struct ttm_resource *src = src_bo->ttm.resource, *dst = dst_bo->ttm.resource; in blt_copy() 386 xe_res_first_sg(xe_bo_sg(src_bo), 0, size, &src_it); in blt_copy()
|