/Linux-v5.10/include/drm/ |
D | drm_mm.h | 155 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 …]
|
D | drm_vma_manager.h | 54 struct drm_mm_node vm_node;
|
/Linux-v5.10/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() 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 …]
|
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-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.h | 12 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);
|
D | i915_gem_stolen.c | 31 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/ |
D | test-drm_mm.c | 56 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/ |
D | i915_gem_gtt.h | 26 struct drm_mm_node *node, 31 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 | 97 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()
|
D | i915_gem_gtt.c | 102 struct drm_mm_node *node, in i915_gem_gtt_reserve() 193 struct drm_mm_node *node, in i915_gem_gtt_insert()
|
D | i915_vma_types.h | 170 struct drm_mm_node node;
|
D | intel_memory_region.h | 80 struct drm_mm_node fake_mappable;
|
/Linux-v5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_gem.h | 47 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/ |
D | amdgpu_vram_mgr.c | 237 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()
|
D | amdgpu_gtt_mgr.c | 33 struct drm_mm_node node; 274 struct drm_mm_node *mm_node; in amdgpu_gtt_mgr_recover()
|
D | amdgpu_ttm.c | 190 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/ |
D | i915_gem_evict.c | 192 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/ |
D | msm_gem.h | 35 struct drm_mm_node node; 87 struct drm_mm_node *vram_node;
|
/Linux-v5.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 133 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()
|
D | etnaviv_gem.h | 29 struct drm_mm_node vram_node;
|
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_thp.c | 31 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/ |
D | rockchip_drm_gem.h | 22 struct drm_mm_node mm;
|
/Linux-v5.10/drivers/gpu/drm/armada/ |
D | armada_gem.h | 17 struct drm_mm_node *linear; /* for linear backed */
|
/Linux-v5.10/drivers/gpu/drm/tegra/ |
D | gem.h | 37 struct drm_mm_node *mm;
|