/linux-6.12.1/drivers/gpu/drm/ |
D | drm_mm.c | 107 static noinline void save_stack(struct drm_mm_node *node) in save_stack() 120 struct drm_mm_node *node; in show_leaks() 145 static void save_stack(struct drm_mm_node *node) { } in save_stack() 152 INTERVAL_TREE_DEFINE(struct drm_mm_node, rb, in INTERVAL_TREE_DEFINE() argument 156 struct drm_mm_node * in INTERVAL_TREE_DEFINE() 160 start, last) ?: (struct drm_mm_node *)&mm->head_node; in INTERVAL_TREE_DEFINE() 164 static void drm_mm_interval_tree_add_node(struct drm_mm_node *hole_node, in drm_mm_interval_tree_add_node() 165 struct drm_mm_node *node) in drm_mm_interval_tree_add_node() 169 struct drm_mm_node *parent; in drm_mm_interval_tree_add_node() 177 parent = rb_entry(rb, struct drm_mm_node, rb); in drm_mm_interval_tree_add_node() [all …]
|
D | drm_vma_manager.c | 144 struct drm_mm_node *node, *best; in drm_vma_offset_lookup_locked() 152 node = rb_entry(iter, struct drm_mm_node, rb); in drm_vma_offset_lookup_locked()
|
/linux-6.12.1/include/drm/ |
D | drm_mm.h | 157 struct drm_mm_node { struct 200 void (*color_adjust)(const struct drm_mm_node *node, argument 209 struct drm_mm_node head_node; 258 static inline bool drm_mm_node_allocated(const struct drm_mm_node *node) in drm_mm_node_allocated() 293 static inline bool drm_mm_hole_follows(const struct drm_mm_node *node) in drm_mm_hole_follows() 298 static inline u64 __drm_mm_hole_node_start(const struct drm_mm_node *hole_node) in __drm_mm_hole_node_start() 314 static inline u64 drm_mm_hole_node_start(const struct drm_mm_node *hole_node) in drm_mm_hole_node_start() 320 static inline u64 __drm_mm_hole_node_end(const struct drm_mm_node *hole_node) in __drm_mm_hole_node_end() 336 static inline u64 drm_mm_hole_node_end(const struct drm_mm_node *hole_node) in drm_mm_hole_node_end() 406 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node); [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.h | 12 struct drm_mm_node; 15 #define i915_stolen_fb drm_mm_node 18 struct drm_mm_node *node, u64 size, 21 struct drm_mm_node *node, u64 size, 25 struct drm_mm_node *node); 46 const struct drm_mm_node *node); 48 bool i915_gem_stolen_node_allocated(const struct drm_mm_node *node); 49 u64 i915_gem_stolen_node_offset(const struct drm_mm_node *node); 50 u64 i915_gem_stolen_node_size(const struct drm_mm_node *node);
|
D | i915_gem_stolen.c | 41 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node_in_range() 63 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node() 73 struct drm_mm_node *node) in i915_gem_stolen_remove_node() 684 struct drm_mm_node *stolen = fetch_and_zero(&obj->stolen); in i915_gem_object_release_stolen() 702 struct drm_mm_node *stolen) in __i915_gem_object_create_stolen() 744 struct drm_mm_node *stolen; in _i915_gem_object_stolen_init() 1020 const struct drm_mm_node *node) in i915_gem_stolen_node_address() 1025 bool i915_gem_stolen_node_allocated(const struct drm_mm_node *node) in i915_gem_stolen_node_allocated() 1030 u64 i915_gem_stolen_node_offset(const struct drm_mm_node *node) in i915_gem_stolen_node_offset() 1035 u64 i915_gem_stolen_node_size(const struct drm_mm_node *node) in i915_gem_stolen_node_size()
|
/linux-6.12.1/drivers/gpu/drm/tests/ |
D | drm_mm_test.c | 40 struct drm_mm_node *hole; in assert_no_holes() 65 struct drm_mm_node *hole; in assert_one_hole() 92 static u64 misalignment(struct drm_mm_node *node, u64 alignment) in misalignment() 103 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm, in assert_node() 139 struct drm_mm_node tmp; in drm_test_mm_init() 193 struct drm_mm_node nodes[2]; in drm_test_mm_debug() 218 struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, in expect_insert() 244 struct drm_mm_node *node, *next; in drm_test_mm_align_pot() 291 struct drm_mm_node rsvd_lo, rsvd_hi, node; in drm_test_mm_once()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_gem_evict.h | 11 struct drm_mm_node; 24 struct drm_mm_node *node,
|
D | i915_gem_gtt.h | 30 struct drm_mm_node *node, 36 struct drm_mm_node *node,
|
D | i915_vgpu.c | 143 struct drm_mm_node space[4]; 149 struct drm_mm_node *node) in vgt_deballoon_space() 187 struct drm_mm_node *node, in vgt_balloon_space()
|
D | i915_gem_evict.c | 158 struct drm_mm_node *node; in i915_gem_evict_something() 330 struct drm_mm_node *target, in i915_gem_evict_for_node() 334 struct drm_mm_node *node; in i915_gem_evict_for_node()
|
D | i915_scatterlist.h | 17 struct drm_mm_node; 232 struct i915_refct_sgt *i915_rsgt_from_mm_node(const struct drm_mm_node *node,
|
D | i915_gem_gtt.c | 98 struct drm_mm_node *node, in i915_gem_gtt_reserve() 191 struct drm_mm_node *node, in i915_gem_gtt_insert()
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_mmu_context.h | 42 u64 size, struct drm_mm_node *node); 43 void ivpu_mmu_context_remove_node(struct ivpu_mmu_context *ctx, struct drm_mm_node *node);
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_gem.h | 52 struct drm_mm_node mmnode; 64 drm_mm_node_to_panfrost_mapping(struct drm_mm_node *node) in drm_mm_node_to_panfrost_mapping()
|
/linux-6.12.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 152 struct drm_mm_node *node, size_t size) in etnaviv_iommu_find_iova() 234 struct drm_mm_node *node, size_t size, u64 va) in etnaviv_iommu_insert_exact() 237 struct drm_mm_node *scan_node; in etnaviv_iommu_insert_exact() 283 struct drm_mm_node *node; in etnaviv_iommu_map_gem() 433 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_get_suballoc_va() 465 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_put_suballoc_va()
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_evict.c | 194 struct drm_mm_node target = { in igt_evict_for_vma() 234 static void mock_color_adjust(const struct drm_mm_node *node, in mock_color_adjust() 246 struct drm_mm_node target = { in igt_evict_for_cache_color() 384 struct drm_mm_node node; in igt_evict_contexts() 388 struct drm_mm_node hole; in igt_evict_contexts()
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_mmu.h | 76 struct drm_mm_node *va_node); 77 void panthor_vm_free_va(struct panthor_vm *vm, struct drm_mm_node *va_node);
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_res_cursor.h | 60 struct drm_mm_node *node; in amdgpu_res_first() 128 struct drm_mm_node *node; in amdgpu_res_next()
|
/linux-6.12.1/drivers/gpu/drm/ttm/ |
D | ttm_range_manager.c | 121 struct drm_mm_node *node = &to_ttm_range_mgr_node(res)->mm_nodes[0]; in ttm_range_man_intersects() 137 struct drm_mm_node *node = &to_ttm_range_mgr_node(res)->mm_nodes[0]; in ttm_range_man_compatible()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_ggtt.c | 270 struct drm_mm_node *hole; in xe_ggtt_initial_clear() 416 const struct drm_mm_node *node, const char *description) in xe_ggtt_dump_node() 711 const struct drm_mm_node *entry; in xe_ggtt_largest_hole() 741 static void xe_ggtt_assign_locked(struct xe_ggtt *ggtt, const struct drm_mm_node *node, u16 vfid) in xe_ggtt_assign_locked() 811 const struct drm_mm_node *entry; in xe_ggtt_print_holes()
|
D | xe_ggtt_types.h | 65 struct drm_mm_node base;
|
/linux-6.12.1/include/drm/ttm/ |
D | ttm_range_manager.h | 21 struct drm_mm_node mm_nodes[];
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.h | 22 struct drm_mm_node mm;
|
/linux-6.12.1/drivers/gpu/drm/armada/ |
D | armada_gem.h | 17 struct drm_mm_node *linear; /* for linear backed */
|
/linux-6.12.1/drivers/gpu/drm/tegra/ |
D | gem.h | 43 struct drm_mm_node *mm;
|