Home
last modified time | relevance | path

Searched refs:xe_bo (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/gpu/drm/xe/
H A Dxe_bo.h118 struct xe_bo *xe_bo_alloc(void);
119 void xe_bo_free(struct xe_bo *bo);
121 struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo,
127 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile,
131 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_vm *vm, size_t size,
133 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
137 struct xe_bo *xe_bo_create_pin_map_novm(struct xe_device *xe, struct xe_tile *tile,
140 struct xe_bo *xe_bo_create_pin_range_novm(struct xe_device *xe, struct xe_tile *tile,
143 struct xe_bo *
[all...]
H A Dxe_migrate.h16 struct xe_bo;
129 struct xe_bo *src_bo,
130 struct xe_bo *dst_bo,
136 struct xe_bo *bo,
140 struct xe_bo *src_bo,
144 void xe_migrate_ccs_rw_copy_clear(struct xe_bo *src_bo,
150 struct dma_fence *xe_migrate_vram_copy_chunk(struct xe_bo *vram_bo, u64 vram_offset,
151 struct xe_bo *sysmem_bo, u64 sysmem_offset,
153 int xe_migrate_access_memory(struct xe_migrate *m, struct xe_bo *bo,
162 struct xe_bo *bo,
H A Dxe_bo.c6 #include "xe_bo.h"
105 bool xe_bo_is_vram(struct xe_bo *bo) in xe_bo_is_vram()
111 bool xe_bo_is_stolen(struct xe_bo *bo) in xe_bo_is_stolen()
125 bool xe_bo_has_single_placement(struct xe_bo *bo) in xe_bo_has_single_placement()
139 bool xe_bo_is_stolen_devmem(struct xe_bo *bo) in xe_bo_is_stolen_devmem()
154 bool xe_bo_is_vm_bound(struct xe_bo *bo) in xe_bo_is_vm_bound()
161 static bool xe_bo_is_user(struct xe_bo *bo) in xe_bo_is_user()
176 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
230 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
261 static void try_add_vram(struct xe_device *xe, struct xe_bo *b
1291 struct xe_bo *xe_bo = ttm_to_xe_bo(bo); xe_bo_shrink() local
[all...]
H A Dxe_drm_client.h18 struct xe_bo;
58 struct xe_bo *bo);
59 void xe_drm_client_remove_bo(struct xe_bo *bo);
62 struct xe_bo *bo) in xe_drm_client_add_bo()
66 static inline void xe_drm_client_remove_bo(struct xe_bo *bo) in xe_drm_client_remove_bo()
H A Dxe_trace_bo.h23 DECLARE_EVENT_CLASS(xe_bo,
24 TP_PROTO(struct xe_bo *bo),
46 DEFINE_EVENT(xe_bo, xe_bo_cpu_fault,
47 TP_PROTO(struct xe_bo *bo),
51 DEFINE_EVENT(xe_bo, xe_bo_validate,
52 TP_PROTO(struct xe_bo *bo),
56 DEFINE_EVENT(xe_bo, xe_bo_create,
57 TP_PROTO(struct xe_bo *bo),
62 TP_PROTO(struct xe_bo *bo, uint32_t new_placement, uint32_t old_placement,
66 __field(struct xe_bo *, bo)
H A Dxe_gsc_types.h18 struct xe_bo;
33 struct xe_bo *private;
64 struct xe_bo *bo;
H A Dxe_sriov_vf_ccs.h16 struct xe_bo;
19 int xe_sriov_vf_ccs_attach_bo(struct xe_bo *bo, struct ttm_resource *new_mem);
20 int xe_sriov_vf_ccs_detach_bo(struct xe_bo *bo);
H A Dxe_bo_types.h32 struct xe_bo { struct
36 struct xe_bo *backup_obj; argument
38 struct xe_bo *parent_obj; argument
H A Dxe_dma_buf.c53 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_pin()
92 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_unpin()
102 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_map()
170 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_begin_cpu_access()
199 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_release()
224 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_gem_prime_export()
289 struct xe_bo *bo; in xe_dma_buf_create_obj()
321 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_move_notify()
H A Dxe_huc_types.h11 struct xe_bo;
21 struct xe_bo *gsc_pkt;
H A Dxe_lmtt_types.h11 struct xe_bo;
39 struct xe_bo *bo;
H A Dxe_drm_client.c133 struct xe_bo *bo) in xe_drm_client_add_bo()
153 void xe_drm_client_remove_bo(struct xe_bo *bo) in xe_drm_client_remove_bo()
167 static void bo_meminfo(struct xe_bo *bo, in bo_meminfo()
209 struct xe_bo *bo; in show_meminfo()
219 struct xe_bo *bo = gem_to_xe_bo(obj); in show_meminfo()
H A Dxe_guc_types.h75 struct xe_bo *bo;
108 struct xe_bo *bo;
H A Dxe_mem_pool.c39 struct xe_bo *bo;
41 struct xe_bo *shadow;
74 struct xe_bo *shadow; in pool_shadow_init()
122 struct xe_bo *bo; in xe_mem_pool_init()
H A Dxe_svm.h21 struct xe_bo;
96 int xe_svm_bo_evict(struct xe_bo *bo);
202 struct xe_bo;
274 int xe_svm_bo_evict(struct xe_bo *bo) in xe_svm_bo_evict()
H A Dxe_hw_engine_types.h64 struct xe_bo;
153 struct xe_bo *hwsp;
H A Dxe_bo_evict.c13 typedef int (*xe_pinned_fn)(struct xe_bo *bo);
21 struct xe_bo *bo; in xe_bo_apply_to_pinned()
192 static int xe_bo_restore_and_map_ggtt(struct xe_bo *bo) in xe_bo_restore_and_map_ggtt()
H A Dxe_vm_madvise.c132 struct xe_bo *bo; in madvise_atomic()
210 struct xe_bo *bo = xe_vma_bo(vmas[i]); in madvise_purgeable()
517 struct xe_bo *bo = xe_vma_bo(vma); in check_pat_args_are_sane()
539 struct xe_bo *bo; in check_bo_args_are_sane()
685 struct xe_bo *bo = xe_vma_bo(madvise_range.vmas[i]); in xe_vm_madvise_ioctl()
H A Dxe_vm_madvise.h11 struct xe_bo;
H A Dxe_gt_sriov_pf_migration.c519 struct xe_bo *vram, u64 vram_offset, in __pf_save_restore_vram()
520 struct xe_bo *sysmem, u64 sysmem_offset, in __pf_save_restore_vram()
555 struct xe_bo *src_vram, u64 src_vram_offset, in pf_save_vram_chunk()
605 struct xe_bo *vram; in pf_save_vf_vram_mig_data()
643 struct xe_bo *vram; in pf_restore_vf_vram_mig_data()
/linux/drivers/gpu/drm/xe/display/
H A Dxe_display_bo.c25 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_display_bo_read_from_page()
33 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_display_bo_framebuffer_init()
76 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_display_bo_framebuffer_fini()
93 struct xe_bo *bo; in xe_display_bo_framebuffer_lookup()
148 struct xe_bo *obj; in xe_display_bo_fbdev_create()
172 struct xe_bo *obj = gem_to_xe_bo(_obj); in xe_display_bo_fbdev_fill_info()
H A Dxe_fb_pin.c15 #include "xe_bo.h"
25 write_dpt_rotated(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, u32 bo_ofs, in write_dpt_rotated()
64 write_dpt_remapped_linear(struct xe_bo *bo, struct iosys_map *map, in write_dpt_remapped_linear()
87 write_dpt_remapped_tiled(struct xe_bo *bo, struct iosys_map *map, in write_dpt_remapped_tiled()
117 write_dpt_remapped(struct xe_bo *bo, in write_dpt_remapped()
154 struct xe_bo *bo = gem_to_xe_bo(obj), *dpt; in __xe_pin_fb_vma_dpt()
214 struct xe_bo *bo, u32 bo_ofs, in write_ggtt_rotated()
237 struct xe_bo *bo;
244 struct xe_bo *bo = args->bo; in write_ggtt_rotated_node()
262 struct xe_bo *b in __xe_pin_fb_vma_ggtt()
[all...]
H A Dxe_stolen.c13 struct xe_bo *bo;
21 struct xe_bo *bo; in xe_stolen_insert_node_in_range()
H A Dxe_hdcp_gsc.c28 struct xe_bo *hdcp_bo;
71 struct xe_bo *bo = NULL; in intel_hdcp_gsc_initialize_message()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_migrate.c73 static void test_copy(struct xe_migrate *m, struct xe_bo *bo, in test_copy()
83 struct xe_bo *remote = xe_bo_create_locked(xe, m->tile, NULL, in test_copy()
165 static void test_copy_sysmem(struct xe_migrate *m, struct xe_bo *bo, in test_copy_sysmem()
171 static void test_copy_vram(struct xe_migrate *m, struct xe_bo *bo, in test_copy_vram()
191 struct xe_bo *pt, *bo = m->pt_bo, *big, *tiny; in xe_migrate_sanity_test()
369 struct xe_bo *src_bo, struct xe_bo *dst_bo, in blt_copy()
495 struct xe_bo *sys_bo, struct xe_bo *vram_bo, struct xe_bo *ccs_bo, in test_migrate()
583 struct xe_bo *sys_bo, struct xe_bo *vram_bo, struct kunit *test) in test_clear()
640 struct xe_bo *sys_bo, *vram_bo = NULL, *ccs_bo = NULL; in validate_ccs_test_run_tile()

12