Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/xe/
H A Dxe_bo.h80 struct xe_bo *xe_bo_alloc(void);
81 void xe_bo_free(struct xe_bo *bo);
83 struct xe_bo *___xe_bo_create_locked(struct xe_device *xe, struct xe_bo *bo,
88 struct xe_bo *
93 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile,
96 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile,
99 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile,
103 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
106 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile,
109 struct xe_bo *xe_bo_create_pin_map_at_aligned(struct xe_device *xe,
[all …]
H A Dxe_bo.c87 bool xe_bo_is_vram(struct xe_bo *bo) in xe_bo_is_vram()
93 bool xe_bo_is_stolen(struct xe_bo *bo) in xe_bo_is_stolen()
107 bool xe_bo_has_single_placement(struct xe_bo *bo) in xe_bo_has_single_placement()
121 bool xe_bo_is_stolen_devmem(struct xe_bo *bo) in xe_bo_is_stolen_devmem()
127 static bool xe_bo_is_user(struct xe_bo *bo) in xe_bo_is_user()
152 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
174 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
202 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram()
211 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen()
226 static int __xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in __xe_bo_placement_for_flags()
[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_dma_buf.c52 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_pin()
84 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_unpin()
94 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_map()
149 struct xe_bo *bo = gem_to_xe_bo(dma_buf->priv); in xe_dma_buf_unmap()
164 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_begin_cpu_access()
195 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_gem_prime_export()
209 xe_dma_buf_init_obj(struct drm_device *dev, struct xe_bo *storage, in xe_dma_buf_init_obj()
214 struct xe_bo *bo; in xe_dma_buf_init_obj()
237 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_move_notify()
269 struct xe_bo *bo; in xe_gem_prime_import()
H A Dxe_pt_types.h13 struct xe_bo;
29 struct xe_bo *bo;
41 u64 (*pte_encode_bo)(struct xe_bo *bo, u64 bo_offset,
48 u64 (*pde_encode_bo)(struct xe_bo *bo, u64 bo_offset,
59 struct xe_bo *pt_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),
57 TP_PROTO(struct xe_bo *bo, uint32_t new_placement, uint32_t old_placement,
61 __field(struct xe_bo *, bo)
H A Dxe_ggtt.h27 void xe_ggtt_map_bo(struct xe_ggtt *ggtt, struct xe_bo *bo);
28 int xe_ggtt_insert_bo(struct xe_ggtt *ggtt, struct xe_bo *bo);
29 int xe_ggtt_insert_bo_at(struct xe_ggtt *ggtt, struct xe_bo *bo,
31 void xe_ggtt_remove_bo(struct xe_ggtt *ggtt, struct xe_bo *bo);
H A Dxe_migrate.h15 struct xe_bo;
99 struct xe_bo *src_bo,
100 struct xe_bo *dst_bo,
110 struct xe_bo *bo,
H A Dxe_gsc_types.h17 struct xe_bo;
32 struct xe_bo *private;
61 struct xe_bo *bo;
H A Dxe_ggtt_types.h13 struct xe_bo;
36 struct xe_bo *scratch;
78 u64 (*pte_encode_bo)(struct xe_bo *bo, u64 bo_offset, u16 pat_index);
H A Dxe_huc_types.h11 struct xe_bo;
21 struct xe_bo *gsc_pkt;
H A Dxe_sa_types.h10 struct xe_bo;
14 struct xe_bo *bo;
H A Dxe_ttm_stolen_mgr.h12 struct xe_bo;
18 u64 xe_ttm_stolen_io_offset(struct xe_bo *bo, u32 offset);
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()
199 struct xe_bo *bo; in show_meminfo()
209 struct xe_bo *bo = gem_to_xe_bo(obj); in show_meminfo()
H A Dxe_lrc_types.h13 struct xe_bo;
23 struct xe_bo *bo;
H A Dxe_gt_sriov_pf_config_types.h12 struct xe_bo;
23 struct xe_bo *lmem_obj;
H A Dxe_lmtt_types.h11 struct xe_bo;
39 struct xe_bo *bo;
H A Dxe_lmtt.h11 struct xe_bo;
19 int xe_lmtt_populate_pages(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 offset);
H A Dxe_guc_types.h71 struct xe_bo *bo;
95 struct xe_bo *bo;
H A Dxe_uc_fw_types.h11 struct xe_bo;
114 struct xe_bo *bo;
/linux/drivers/gpu/drm/xe/display/
H A Dintel_fb_bo.c16 struct xe_bo *bo = gem_to_xe_bo(obj); in intel_fb_bo_framebuffer_fini()
31 struct xe_bo *bo = gem_to_xe_bo(obj); in intel_fb_bo_framebuffer_init()
75 struct xe_bo *bo; in intel_fb_bo_lookup_valid_bo()
H A Dxe_fb_pin.c18 write_dpt_rotated(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, u32 bo_ofs, in write_dpt_rotated()
50 write_dpt_remapped(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, in write_dpt_remapped()
56 u64 (*pte_encode_bo)(struct xe_bo *bo, u64 bo_offset, u16 pat_index) in write_dpt_remapped()
89 struct xe_bo *bo = gem_to_xe_bo(obj), *dpt; in __xe_pin_fb_vma_dpt()
169 write_ggtt_rotated(struct xe_bo *bo, struct xe_ggtt *ggtt, u32 *ggtt_ofs, u32 bo_ofs, in write_ggtt_rotated()
198 struct xe_bo *bo = gem_to_xe_bo(obj); in __xe_pin_fb_vma_ggtt()
284 struct xe_bo *bo = gem_to_xe_bo(obj); in __xe_pin_fb_vma()
384 struct xe_bo *bo = gem_to_xe_bo(obj); in intel_plane_pin_fb()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_bo.c24 static int ccs_test_migrate(struct xe_tile *tile, struct xe_bo *bo, in ccs_test_migrate()
129 struct xe_bo *bo; in ccs_test_run_tile()
210 struct xe_bo *bo, *external; in evict_test_run_tile()
376 struct xe_bo *bo;
382 static int shrink_test_fill_random(struct xe_bo *bo, struct rnd_state *state, in shrink_test_fill_random()
404 static bool shrink_test_verify(struct kunit *test, struct xe_bo *bo, in shrink_test_verify()
484 struct xe_bo *bo; in shrink_test_run_device()
555 struct xe_bo *bo = link->bo; in shrink_test_run_device()
H A Dxe_migrate.c72 static void test_copy(struct xe_migrate *m, struct xe_bo *bo, in test_copy()
82 struct xe_bo *remote = xe_bo_create_locked(xe, m->tile, NULL, in test_copy()
163 static void test_copy_sysmem(struct xe_migrate *m, struct xe_bo *bo, in test_copy_sysmem()
169 static void test_copy_vram(struct xe_migrate *m, struct xe_bo *bo, in test_copy_vram()
188 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()
/linux/drivers/gpu/drm/xe/compat-i915-headers/
H A Di915_vma.h19 struct xe_bo;
22 struct xe_bo *bo, *dpt;

123