Searched refs:xe_vma (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_trace_bo.h | 88 DECLARE_EVENT_CLASS(xe_vma, 89 TP_PROTO(struct xe_vma *vma), 94 __field(struct xe_vma *, vma) 118 DEFINE_EVENT(xe_vma, xe_vma_flush, 119 TP_PROTO(struct xe_vma *vma), 123 DEFINE_EVENT(xe_vma, xe_vma_pagefault, 124 TP_PROTO(struct xe_vma *vma), 128 DEFINE_EVENT(xe_vma, xe_vma_acc, 129 TP_PROTO(struct xe_vma *vma), 133 DEFINE_EVENT(xe_vma, xe_vma_bind, [all …]
|
| H A D | xe_vm.h | 66 struct xe_vma * 69 bool xe_vma_has_default_mem_attrs(struct xe_vma *vma); 98 static inline struct xe_vma *gpuva_to_vma(struct drm_gpuva *gpuva) in gpuva_to_vma() 100 return container_of(gpuva, struct xe_vma, gpuva); in gpuva_to_vma() 112 static inline u64 xe_vma_start(struct xe_vma *vma) in xe_vma_start() 117 static inline u64 xe_vma_size(struct xe_vma *vma) in xe_vma_size() 122 static inline u64 xe_vma_end(struct xe_vma *vma) in xe_vma_end() 127 static inline u64 xe_vma_bo_offset(struct xe_vma *vma) in xe_vma_bo_offset() 132 static inline struct xe_bo *xe_vma_bo(struct xe_vma *vma) in xe_vma_bo() 138 static inline struct xe_vm *xe_vma_vm(struct xe_vma *vma) in xe_vma_vm() [all …]
|
| H A D | xe_svm.h | 34 struct xe_vma; 77 int xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma, 91 struct xe_vma *vma, struct drm_gpusvm_ctx *ctx); 96 bool xe_svm_range_needs_migrate_to_vram(struct xe_svm_range *range, struct xe_vma *vma, 105 u64 xe_svm_find_vma_start(struct xe_vm *vm, u64 addr, u64 end, struct xe_vma *vma); 111 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile); 184 struct xe_vma; 238 int xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma, in xe_svm_handle_pagefault() 271 struct xe_vma *vma, struct drm_gpusvm_ctx *ctx) in xe_svm_range_find_or_insert() 304 bool xe_svm_range_needs_migrate_to_vram(struct xe_svm_range *range, struct xe_vma *vma, in xe_svm_range_needs_migrate_to_vram() [all …]
|
| H A D | xe_vm_types.h | 89 struct xe_vma { struct 162 struct xe_vma vma; argument 296 struct xe_vma *last_fault_vma; 343 struct xe_vma *vma; 356 struct xe_vma *prev; 358 struct xe_vma *next; 380 struct xe_vma *vma;
|
| H A D | xe_pt.c | 305 struct xe_vma *vma; 646 static bool xe_atomic_for_vram(struct xe_vm *vm, struct xe_vma *vma) in xe_atomic_for_vram() 654 static bool xe_atomic_for_system(struct xe_vm *vm, struct xe_vma *vma) in xe_atomic_for_system() 697 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind() 903 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma) in xe_pt_zap_ptes() 1001 static void xe_pt_cancel_bind(struct xe_vma *vma, in xe_pt_cancel_bind() 1025 #define XE_INVALID_VMA ((struct xe_vma *)(0xdeaddeadull)) 1027 static void xe_pt_commit_prepare_locks_assert(struct xe_vma *vma) in xe_pt_commit_prepare_locks_assert() 1043 static void xe_pt_commit_locks_assert(struct xe_vma *vma) in xe_pt_commit_locks_assert() 1057 static void xe_pt_commit(struct xe_vma *vma, in xe_pt_commit() [all …]
|
| H A D | xe_vm.c | 603 struct xe_vma *vma; in xe_vma_svm_prefetch_op_fini() 651 static void xe_vm_populate_rebind(struct xe_vma_op *op, struct xe_vma *vma, in xe_vm_populate_rebind() 666 static int xe_vm_ops_add_rebind(struct xe_vma_ops *vops, struct xe_vma *vma, in xe_vm_ops_add_rebind() 691 struct xe_vma *vma, *next; in xe_vm_rebind() 743 struct dma_fence *xe_vma_rebind(struct xe_vm *vm, struct xe_vma *vma, u8 tile_mask) in xe_vma_rebind() 787 struct xe_vma *vma, in xe_vm_populate_range_rebind() 801 struct xe_vma *vma, in xe_vm_ops_add_range_rebind() 831 struct xe_vma *vma, in xe_vm_range_rebind() 960 static void xe_vma_free(struct xe_vma *vma) in xe_vma_free() 968 static struct xe_vma *xe_vma_create(struct xe_vm *vm, in xe_vma_create() [all …]
|
| H A D | xe_pagefault.c | 48 static int xe_pagefault_begin(struct drm_exec *exec, struct xe_vma *vma, in xe_pagefault_begin() 66 static int xe_pagefault_handle_vma(struct xe_gt *gt, struct xe_vma *vma, in xe_pagefault_handle_vma() 162 struct xe_vma *vma = NULL; in xe_pagefault_service()
|
| H A D | xe_svm.c | 290 struct xe_vma *vma; in xe_svm_range_set_default_attr() 862 u64 xe_svm_find_vma_start(struct xe_vm *vm, u64 start, u64 end, struct xe_vma *vma) in xe_svm_find_vma_start() 957 bool xe_svm_range_needs_migrate_to_vram(struct xe_svm_range *range, struct xe_vma *vma, in xe_svm_range_needs_migrate_to_vram() 1030 static int __xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma, 1205 int xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma, in xe_svm_handle_pagefault() 1308 struct xe_vma *vma, struct drm_gpusvm_ctx *ctx) in xe_svm_range_find_or_insert() 1419 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile) in xe_vma_resolve_pagemap() 1546 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile) in xe_vma_resolve_pagemap()
|
| H A D | xe_migrate.h | 27 struct xe_vma;
|
| H A D | xe_bo.c | 717 struct xe_vma *vma = gpuva_to_vma(gpuva); in xe_bo_trigger_rebind()
|