Home
last modified time | relevance | path

Searched refs:xe_vma (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_trace_bo.h78 DECLARE_EVENT_CLASS(xe_vma,
79 TP_PROTO(struct xe_vma *vma),
84 __field(struct xe_vma *, vma)
105 DEFINE_EVENT(xe_vma, xe_vma_flush,
106 TP_PROTO(struct xe_vma *vma),
110 DEFINE_EVENT(xe_vma, xe_vma_pagefault,
111 TP_PROTO(struct xe_vma *vma),
115 DEFINE_EVENT(xe_vma, xe_vma_acc,
116 TP_PROTO(struct xe_vma *vma),
120 DEFINE_EVENT(xe_vma, xe_vma_bind,
[all …]
H A Dxe_vm.h64 struct xe_vma *
94 static inline struct xe_vma *gpuva_to_vma(struct drm_gpuva *gpuva) in gpuva_to_vma()
96 return container_of(gpuva, struct xe_vma, gpuva); in gpuva_to_vma()
108 static inline u64 xe_vma_start(struct xe_vma *vma) in xe_vma_start()
113 static inline u64 xe_vma_size(struct xe_vma *vma) in xe_vma_size()
118 static inline u64 xe_vma_end(struct xe_vma *vma) in xe_vma_end()
123 static inline u64 xe_vma_bo_offset(struct xe_vma *vma) in xe_vma_bo_offset()
128 static inline struct xe_bo *xe_vma_bo(struct xe_vma *vma) in xe_vma_bo()
134 static inline struct xe_vm *xe_vma_vm(struct xe_vma *vma) in xe_vma_vm()
139 static inline bool xe_vma_read_only(struct xe_vma *vma) in xe_vma_read_only()
[all …]
H A Dxe_vm_types.h73 struct xe_vma { struct
132 struct xe_vma vma; argument
267 struct xe_vma *last_fault_vma;
290 struct xe_vma *vma;
306 struct xe_vma *prev;
308 struct xe_vma *next;
H A Dxe_pt_types.h15 struct xe_vma;
43 u64 (*pte_encode_vma)(u64 pte, struct xe_vma *vma,
82 struct xe_vma *vma;
H A Dxe_vm.c69 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_pin_pages()
589 struct xe_vma *vma = &uvma->vma; in vma_userptr_invalidate()
761 static void xe_vm_populate_rebind(struct xe_vma_op *op, struct xe_vma *vma, in xe_vm_populate_rebind()
777 static int xe_vm_ops_add_rebind(struct xe_vma_ops *vops, struct xe_vma *vma, in xe_vm_ops_add_rebind()
802 struct xe_vma *vma, *next; in xe_vm_rebind()
854 struct dma_fence *xe_vma_rebind(struct xe_vm *vm, struct xe_vma *vma, u8 tile_mask) in xe_vma_rebind()
896 static void xe_vma_free(struct xe_vma *vma) in xe_vma_free()
908 static struct xe_vma *xe_vma_create(struct xe_vm *vm, in xe_vma_create()
914 struct xe_vma *vma; in xe_vma_create()
1009 static void xe_vma_destroy_late(struct xe_vma *vma) in xe_vma_destroy_late()
[all …]
H A Dxe_gt_tlb_invalidation.h15 struct xe_vma;
22 struct xe_vma *vma);
H A Dxe_gt_pagefault.c68 static bool vma_is_valid(struct xe_tile *tile, struct xe_vma *vma) in vma_is_valid()
74 static bool vma_matches(struct xe_vma *vma, u64 page_addr) in vma_matches()
83 static struct xe_vma *lookup_vma(struct xe_vm *vm, u64 page_addr) in lookup_vma()
85 struct xe_vma *vma = NULL; in lookup_vma()
97 static int xe_pf_begin(struct drm_exec *exec, struct xe_vma *vma, in xe_pf_begin()
129 struct xe_vma *vma) in handle_vma_pagefault()
208 struct xe_vma *vma = NULL; in handle_pagefault()
538 static struct xe_vma *get_acc_vma(struct xe_vm *vm, struct acc *acc) in get_acc_vma()
552 struct xe_vma *vma; in handle_acc()
H A Dxe_pt.h19 struct xe_vma;
44 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma);
H A Dxe_pt.c273 struct xe_vma *vma;
603 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind()
810 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma) in xe_pt_zap_ptes()
851 static void xe_pt_cancel_bind(struct xe_vma *vma, in xe_pt_cancel_bind()
875 static void xe_pt_commit_locks_assert(struct xe_vma *vma) in xe_pt_commit_locks_assert()
887 static void xe_pt_commit(struct xe_vma *vma, in xe_pt_commit()
909 static void xe_pt_abort_bind(struct xe_vma *vma, in xe_pt_abort_bind()
939 static void xe_pt_commit_prepare_bind(struct xe_vma *vma, in xe_pt_commit_prepare_bind()
982 xe_pt_prepare_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_prepare_bind()
1053 static int vma_add_deps(struct xe_vma *vma, struct xe_sched_job *job) in vma_add_deps()
[all …]
H A Dxe_hmm.c127 struct xe_vma *vma = &uvma->vma; in xe_hmm_userptr_free_sg()
171 struct xe_vma *vma = &uvma->vma; in xe_hmm_userptr_populate_range()
H A Dxe_migrate.h25 struct xe_vma;
H A Dxe_gt_tlb_invalidation.c419 struct xe_vma *vma) in xe_gt_tlb_invalidation_vma()
H A Dxe_bo.c534 struct xe_vma *vma = gpuva_to_vma(gpuva); in xe_bo_trigger_rebind()