| H A D | xe_ggtt.c | 80 /** @ggtt: Back pointer to xe_ggtt where this region will be inserted at */ member 81 struct xe_ggtt *ggtt; 102 u64 (*ggtt_get_pte)(struct xe_ggtt *ggtt, u64 addr); 123 * - %XE_GGTT_FLAGS_ONLINE - is GGTT online, protected by ggtt->lock 183 static void ggtt_update_access_counter(struct xe_ggtt *ggtt) in ggtt_update_access_counter() argument 185 struct xe_tile *tile = ggtt->tile; in ggtt_update_access_counter() 208 lockdep_assert_held(&ggtt->lock); in ggtt_update_access_counter() 210 if ((++ggtt->access_count % max_gtt_writes) == 0) { in ggtt_update_access_counter() 212 ggtt->access_count = 0; in ggtt_update_access_counter() 218 * @ggtt 222 xe_ggtt_start(struct xe_ggtt * ggtt) xe_ggtt_start() argument 233 xe_ggtt_size(struct xe_ggtt * ggtt) xe_ggtt_size() argument 238 xe_ggtt_set_pte(struct xe_ggtt * ggtt,u64 addr,u64 pte) xe_ggtt_set_pte() argument 246 xe_ggtt_set_pte_and_flush(struct xe_ggtt * ggtt,u64 addr,u64 pte) xe_ggtt_set_pte_and_flush() argument 252 xe_ggtt_get_pte(struct xe_ggtt * ggtt,u64 addr) xe_ggtt_get_pte() argument 260 xe_ggtt_clear(struct xe_ggtt * ggtt,u64 start,u64 size) xe_ggtt_clear() argument 281 primelockdep(struct xe_ggtt * ggtt) primelockdep() argument 302 struct xe_ggtt *ggtt; xe_ggtt_alloc() local 319 struct xe_ggtt *ggtt = arg; ggtt_fini_early() local 327 struct xe_ggtt *ggtt = arg; ggtt_fini() local 333 xe_ggtt_might_lock(struct xe_ggtt * ggtt) xe_ggtt_might_lock() argument 357 __xe_ggtt_init_early(struct xe_ggtt * ggtt,u64 start,u64 size) __xe_ggtt_init_early() argument 364 xe_ggtt_init_kunit(struct xe_ggtt * ggtt,u32 start,u32 size) xe_ggtt_init_kunit() argument 373 struct xe_ggtt *ggtt = arg; dev_fini_ggtt() local 391 xe_ggtt_init_early(struct xe_ggtt * ggtt) xe_ggtt_init_early() argument 454 xe_ggtt_initial_clear(struct xe_ggtt * ggtt) xe_ggtt_initial_clear() argument 475 struct xe_ggtt *ggtt = node->ggtt; ggtt_node_remove() local 508 struct xe_ggtt *ggtt; xe_ggtt_node_remove() local 533 xe_ggtt_init(struct xe_ggtt * ggtt) xe_ggtt_init() argument 577 xe_ggtt_invalidate(struct xe_ggtt * ggtt) xe_ggtt_invalidate() argument 607 xe_ggtt_shift_nodes(struct xe_ggtt * ggtt,u64 new_start) xe_ggtt_shift_nodes() argument 625 ggtt_node_init(struct xe_ggtt * ggtt) ggtt_node_init() argument 646 xe_ggtt_insert_node(struct xe_ggtt * ggtt,u32 size,u32 align) xe_ggtt_insert_node() argument 687 xe_ggtt_map_bo(struct xe_ggtt * ggtt,struct xe_ggtt_node * node,struct xe_bo * bo,u64 pte) xe_ggtt_map_bo() argument 724 xe_ggtt_map_bo_unlocked(struct xe_ggtt * ggtt,struct xe_bo * bo) xe_ggtt_map_bo_unlocked() argument 751 xe_ggtt_insert_node_transform(struct xe_ggtt * ggtt,struct xe_bo * bo,u64 pte_flags,u64 size,u32 align,xe_ggtt_transform_cb transform,void * arg) xe_ggtt_insert_node_transform() argument 787 __xe_ggtt_insert_bo_at(struct xe_ggtt * ggtt,struct xe_bo * bo,u64 start,u64 end,struct drm_exec * exec) __xe_ggtt_insert_bo_at() argument 870 xe_ggtt_insert_bo_at(struct xe_ggtt * ggtt,struct xe_bo * bo,u64 start,u64 end,struct drm_exec * exec) xe_ggtt_insert_bo_at() argument 884 xe_ggtt_insert_bo(struct xe_ggtt * ggtt,struct xe_bo * bo,struct drm_exec * exec) xe_ggtt_insert_bo() argument 895 xe_ggtt_remove_bo(struct xe_ggtt * ggtt,struct xe_bo * bo) xe_ggtt_remove_bo() argument 917 xe_ggtt_largest_hole(struct xe_ggtt * ggtt,u64 alignment,u64 * spare) xe_ggtt_largest_hole() argument 950 struct xe_ggtt *ggtt = node->ggtt; xe_ggtt_assign_locked() local 992 struct xe_ggtt *ggtt; xe_ggtt_node_save() local 1034 struct xe_ggtt *ggtt; xe_ggtt_node_load() local 1068 xe_ggtt_dump(struct xe_ggtt * ggtt,struct drm_printer * p) xe_ggtt_dump() argument 1091 xe_ggtt_print_holes(struct xe_ggtt * ggtt,u64 alignment,struct drm_printer * p) xe_ggtt_print_holes() argument 1128 xe_ggtt_encode_pte_flags(struct xe_ggtt * ggtt,struct xe_bo * bo,u16 pat_index) xe_ggtt_encode_pte_flags() argument 1141 xe_ggtt_read_pte(struct xe_ggtt * ggtt,u64 offset) xe_ggtt_read_pte() argument [all...] |