Home
last modified time | relevance | path

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

12

/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()
/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.c29 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node_in_range()
51 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node()
59 struct drm_mm_node *node) in i915_gem_stolen_remove_node()
533 struct drm_mm_node *stolen = fetch_and_zero(&obj->stolen); in i915_gem_object_release_stolen()
549 struct drm_mm_node *stolen) in _i915_gem_object_create_stolen()
581 struct drm_mm_node *stolen; in i915_gem_object_create_stolen()
617 struct drm_mm_node *stolen; in i915_gem_object_create_stolen_for_preallocated()
Di915_gem_object_types.h107 struct drm_mm_node *stolen;
/drivers/gpu/drm/selftests/
Dtest-drm_mm.c55 struct drm_mm_node *hole; in assert_no_holes()
79 struct drm_mm_node *hole; in assert_one_hole()
108 struct drm_mm_node *node, *check, *found; in assert_continuous()
157 static u64 misalignment(struct drm_mm_node *node, u64 alignment) in misalignment()
168 static bool assert_node(struct drm_mm_node *node, struct drm_mm *mm, in assert_node()
207 struct drm_mm_node tmp; in igt_init()
267 struct drm_mm_node nodes[2]; in igt_debug()
299 static struct drm_mm_node *set_node(struct drm_mm_node *node, in set_node()
307 static bool expect_reserve_fail(struct drm_mm *mm, struct drm_mm_node *node) in expect_reserve_fail()
354 struct drm_mm_node tmp = {}; in check_reserve_boundaries()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c195 struct drm_mm_node *node) in amdgpu_vram_mgr_vis_size()
219 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_bo_visible_size()
245 struct drm_mm_node *node) in amdgpu_vram_mgr_virt_start()
275 struct drm_mm_node *nodes; in amdgpu_vram_mgr_new()
389 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_del()
Damdgpu_gtt_mgr.c34 struct drm_mm_node node;
315 struct drm_mm_node *mm_node; in amdgpu_gtt_mgr_recover()
Damdgpu_ttm.c262 struct drm_mm_node *mm_node, in amdgpu_mm_node_addr()
282 static struct drm_mm_node *amdgpu_find_mm_node(struct ttm_mem_reg *mem, in amdgpu_find_mm_node()
285 struct drm_mm_node *mm_node = mem->mm_node; in amdgpu_find_mm_node()
311 struct drm_mm_node *src_mm, *dst_mm; in amdgpu_ttm_copy_mem_to_mem()
596 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_mem_visible()
709 struct drm_mm_node *mm_node = mem->mm_node; in amdgpu_ttm_io_mem_reserve()
754 struct drm_mm_node *mm; in amdgpu_ttm_io_mem_pfn()
1478 struct drm_mm_node *node = bo->mem.mm_node; in amdgpu_ttm_bo_eviction_valuable()
1545 struct drm_mm_node *nodes; in amdgpu_ttm_access_memory()
2046 struct drm_mm_node *mm_node; in amdgpu_fill_buffer()
/drivers/gpu/drm/i915/
Di915_vgpu.c115 struct drm_mm_node space[4];
121 struct drm_mm_node *node) in vgt_deballoon_space()
156 struct drm_mm_node *node, in vgt_balloon_space()
Di915_gem_evict.c102 struct drm_mm_node *node; in i915_gem_evict_something()
261 struct drm_mm_node *target, in i915_gem_evict_for_node()
265 struct drm_mm_node *node; in i915_gem_evict_for_node()
Di915_gem_gtt.h418 struct drm_mm_node error_capture;
419 struct drm_mm_node uc_fw;
593 struct drm_mm_node *node,
598 struct drm_mm_node *node,
/drivers/gpu/drm/panfrost/
Dpanfrost_gem.h41 struct drm_mm_node mmnode;
53 drm_mm_node_to_panfrost_mapping(struct drm_mm_node *node) in drm_mm_node_to_panfrost_mapping()
/drivers/gpu/drm/i915/selftests/
Di915_gem_evict.c219 struct drm_mm_node target = { in igt_evict_for_vma()
255 static void mock_color_adjust(const struct drm_mm_node *node, in mock_color_adjust()
267 struct drm_mm_node target = { in igt_evict_for_cache_color()
389 struct drm_mm_node node; in igt_evict_contexts()
393 struct drm_mm_node hole; in igt_evict_contexts()
/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.c140 struct drm_mm_node *node, size_t size) in etnaviv_iommu_find_iova()
224 struct drm_mm_node *node, size_t size, u64 va) in etnaviv_iommu_insert_exact()
235 struct drm_mm_node *node; in etnaviv_iommu_map_gem()
378 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_get_suballoc_va()
410 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_put_suballoc_va()
Detnaviv_gem.h29 struct drm_mm_node vram_node;
/drivers/gpu/drm/msm/
Dmsm_gem.h29 struct drm_mm_node node;
81 struct drm_mm_node *vram_node;
/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.h22 struct drm_mm_node mm;
/drivers/gpu/drm/armada/
Darmada_gem.h17 struct drm_mm_node *linear; /* for linear backed */
/drivers/gpu/drm/tegra/
Dgem.h37 struct drm_mm_node *mm;
/drivers/gpu/drm/ttm/
Dttm_agp_backend.c55 struct drm_mm_node *node = bo_mem->mm_node; in ttm_agp_bind()
Dttm_bo_manager.c58 struct drm_mm_node *node; in ttm_bo_man_get_node()
/drivers/gpu/drm/vc4/
Dvc4_drv.h329 struct drm_mm_node mitchell_netravali_filter;
389 struct drm_mm_node lbm;
/drivers/gpu/drm/i915/gvt/
Dgvt.h82 struct drm_mm_node low_gm_node;
83 struct drm_mm_node high_gm_node;
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c158 struct drm_mm_node node;
187 struct drm_mm_node *node;
797 struct drm_mm_node *node, in vmw_cmdbuf_alloc_space()

12