Home
last modified time | relevance | path

Searched refs:drm_mm_node (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v5.10/include/drm/
Ddrm_mm.h155 struct drm_mm_node { struct
198 void (*color_adjust)(const struct drm_mm_node *node, argument
207 struct drm_mm_node head_node;
256 static inline bool drm_mm_node_allocated(const struct drm_mm_node *node) in drm_mm_node_allocated()
291 static inline bool drm_mm_hole_follows(const struct drm_mm_node *node) in drm_mm_hole_follows()
296 static inline u64 __drm_mm_hole_node_start(const struct drm_mm_node *hole_node) in __drm_mm_hole_node_start()
312 static inline u64 drm_mm_hole_node_start(const struct drm_mm_node *hole_node) in drm_mm_hole_node_start()
318 static inline u64 __drm_mm_hole_node_end(const struct drm_mm_node *hole_node) in __drm_mm_hole_node_end()
334 static inline u64 drm_mm_hole_node_end(const struct drm_mm_node *hole_node) in drm_mm_hole_node_end()
404 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node);
[all …]
Ddrm_vma_manager.h54 struct drm_mm_node vm_node;
/Linux-v5.10/drivers/gpu/drm/
Ddrm_mm.c107 static noinline void save_stack(struct drm_mm_node *node) in save_stack()
120 struct drm_mm_node *node; in show_leaks()
148 static void save_stack(struct drm_mm_node *node) { } in save_stack()
155 INTERVAL_TREE_DEFINE(struct drm_mm_node, rb, in INTERVAL_TREE_DEFINE() argument
159 struct drm_mm_node * in INTERVAL_TREE_DEFINE()
163 start, last) ?: (struct drm_mm_node *)&mm->head_node; in INTERVAL_TREE_DEFINE()
167 static void drm_mm_interval_tree_add_node(struct drm_mm_node *hole_node, in drm_mm_interval_tree_add_node()
168 struct drm_mm_node *node) in drm_mm_interval_tree_add_node()
172 struct drm_mm_node *parent; in drm_mm_interval_tree_add_node()
180 parent = rb_entry(rb, struct drm_mm_node, rb); in drm_mm_interval_tree_add_node()
[all …]
Ddrm_vma_manager.c144 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-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.h12 struct drm_mm_node;
16 struct drm_mm_node *node, u64 size,
19 struct drm_mm_node *node, u64 size,
23 struct drm_mm_node *node);
Di915_gem_stolen.c31 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node_in_range()
53 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node()
63 struct drm_mm_node *node) in i915_gem_stolen_remove_node()
560 struct drm_mm_node *stolen = fetch_and_zero(&obj->stolen); in i915_gem_object_release_stolen()
579 struct drm_mm_node *stolen) in __i915_gem_object_create_stolen()
619 struct drm_mm_node *stolen; in _i915_gem_object_create_stolen()
697 struct drm_mm_node *stolen; in i915_gem_object_create_stolen_for_preallocated()
/Linux-v5.10/drivers/gpu/drm/selftests/
Dtest-drm_mm.c56 struct drm_mm_node *hole; in assert_no_holes()
80 struct drm_mm_node *hole; in assert_one_hole()
109 struct drm_mm_node *node, *check, *found; in assert_continuous()
158 static u64 misalignment(struct drm_mm_node *node, u64 alignment) in misalignment()
169 static bool assert_node(struct drm_mm_node *node, struct drm_mm *mm, in assert_node()
208 struct drm_mm_node tmp; in igt_init()
268 struct drm_mm_node nodes[2]; in igt_debug()
300 static struct drm_mm_node *set_node(struct drm_mm_node *node, in set_node()
308 static bool expect_reserve_fail(struct drm_mm *mm, struct drm_mm_node *node) in expect_reserve_fail()
355 struct drm_mm_node tmp = {}; in check_reserve_boundaries()
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_gem_gtt.h26 struct drm_mm_node *node,
31 struct drm_mm_node *node,
Di915_vgpu.c143 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()
Di915_gem_evict.c97 struct drm_mm_node *node; in i915_gem_evict_something()
252 struct drm_mm_node *target, in i915_gem_evict_for_node()
256 struct drm_mm_node *node; in i915_gem_evict_for_node()
Di915_gem_gtt.c102 struct drm_mm_node *node, in i915_gem_gtt_reserve()
193 struct drm_mm_node *node, in i915_gem_gtt_insert()
Di915_vma_types.h170 struct drm_mm_node node;
Dintel_memory_region.h80 struct drm_mm_node fake_mappable;
/Linux-v5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem.h47 struct drm_mm_node mmnode;
59 drm_mm_node_to_panfrost_mapping(struct drm_mm_node *node) in drm_mm_node_to_panfrost_mapping()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c237 struct drm_mm_node *node) in amdgpu_vram_mgr_vis_size()
261 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_bo_visible_size()
287 struct drm_mm_node *node) in amdgpu_vram_mgr_virt_start()
317 struct drm_mm_node *nodes; in amdgpu_vram_mgr_new()
432 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_del()
473 struct drm_mm_node *node; in amdgpu_vram_mgr_alloc_sgt()
Damdgpu_gtt_mgr.c33 struct drm_mm_node node;
274 struct drm_mm_node *mm_node; in amdgpu_gtt_mgr_recover()
Damdgpu_ttm.c190 struct drm_mm_node *mm_node, in amdgpu_mm_node_addr()
211 static struct drm_mm_node *amdgpu_find_mm_node(struct ttm_resource *mem, in amdgpu_find_mm_node()
214 struct drm_mm_node *mm_node = mem->mm_node; in amdgpu_find_mm_node()
240 struct drm_mm_node *mm_node, in amdgpu_ttm_map_buffer()
361 struct drm_mm_node *src_mm, *dst_mm; in amdgpu_ttm_copy_mem_to_mem()
633 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_mem_visible()
745 struct drm_mm_node *mm_node = mem->mm_node; in amdgpu_ttm_io_mem_reserve()
782 struct drm_mm_node *mm; in amdgpu_ttm_io_mem_pfn()
1574 struct drm_mm_node *node = bo->mem.mm_node; in amdgpu_ttm_bo_eviction_valuable()
1641 struct drm_mm_node *nodes; in amdgpu_ttm_access_memory()
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_evict.c192 struct drm_mm_node target = { in igt_evict_for_vma()
232 static void mock_color_adjust(const struct drm_mm_node *node, in mock_color_adjust()
244 struct drm_mm_node target = { in igt_evict_for_cache_color()
378 struct drm_mm_node node; in igt_evict_contexts()
382 struct drm_mm_node hole; in igt_evict_contexts()
/Linux-v5.10/drivers/gpu/drm/msm/
Dmsm_gem.h35 struct drm_mm_node node;
87 struct drm_mm_node *vram_node;
/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.c133 struct drm_mm_node *node, size_t size) in etnaviv_iommu_find_iova()
217 struct drm_mm_node *node, size_t size, u64 va) in etnaviv_iommu_insert_exact()
228 struct drm_mm_node *node; in etnaviv_iommu_map_gem()
371 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_get_suballoc_va()
403 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_put_suballoc_va()
Detnaviv_gem.h29 struct drm_mm_node vram_node;
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_thp.c31 static int vmw_thp_insert_aligned(struct drm_mm *mm, struct drm_mm_node *node, in vmw_thp_insert_aligned()
56 struct drm_mm_node *node; in vmw_thp_get_node()
/Linux-v5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.h22 struct drm_mm_node mm;
/Linux-v5.10/drivers/gpu/drm/armada/
Darmada_gem.h17 struct drm_mm_node *linear; /* for linear backed */
/Linux-v5.10/drivers/gpu/drm/tegra/
Dgem.h37 struct drm_mm_node *mm;

123