Home
last modified time | relevance | path

Searched refs:drm_buddy_block (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/drm/
Ddrm_buddy.h28 struct drm_buddy_block { struct
39 struct drm_buddy_block *left; argument
40 struct drm_buddy_block *right; argument
41 struct drm_buddy_block *parent; argument
75 struct drm_buddy_block **roots; argument
91 drm_buddy_block_offset(struct drm_buddy_block *block) in drm_buddy_block_offset()
97 drm_buddy_block_order(struct drm_buddy_block *block) in drm_buddy_block_order()
103 drm_buddy_block_state(struct drm_buddy_block *block) in drm_buddy_block_state()
109 drm_buddy_block_is_allocated(struct drm_buddy_block *block) in drm_buddy_block_is_allocated()
115 drm_buddy_block_is_free(struct drm_buddy_block *block) in drm_buddy_block_is_free()
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_buddy.c14 static struct drm_buddy_block *drm_block_alloc(struct drm_buddy *mm, in drm_block_alloc()
15 struct drm_buddy_block *parent, in drm_block_alloc()
19 struct drm_buddy_block *block; in drm_block_alloc()
36 struct drm_buddy_block *block) in drm_block_free()
42 struct drm_buddy_block *block) in list_insert_sorted()
44 struct drm_buddy_block *node; in list_insert_sorted()
60 static void mark_allocated(struct drm_buddy_block *block) in mark_allocated()
69 struct drm_buddy_block *block) in mark_free()
77 static void mark_split(struct drm_buddy_block *block) in mark_split()
132 sizeof(struct drm_buddy_block *), in drm_buddy_init()
[all …]
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_buddy_test.c47 struct drm_buddy_block *block, bool buddy) in __dump_block()
56 struct drm_buddy_block *block) in dump_block()
58 struct drm_buddy_block *buddy; in dump_block()
68 struct drm_buddy_block *block) in check_block()
70 struct drm_buddy_block *buddy; in check_block()
143 struct drm_buddy_block *block; in check_blocks()
144 struct drm_buddy_block *prev; in check_blocks()
204 struct drm_buddy_block *root; in check_mm()
205 struct drm_buddy_block *prev; in check_mm()
226 struct drm_buddy_block *block; in check_mm()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_res_cursor.h58 struct drm_buddy_block *block; in amdgpu_res_first()
74 struct drm_buddy_block, in amdgpu_res_first()
84 block = list_entry(next, struct drm_buddy_block, link); in amdgpu_res_first()
127 struct drm_buddy_block *block; in amdgpu_res_next()
148 block = list_entry(next, struct drm_buddy_block, link); in amdgpu_res_next()
Damdgpu_vram_mgr.c53 static inline struct drm_buddy_block *
56 return list_first_entry_or_null(list, struct drm_buddy_block, link); in amdgpu_vram_mgr_first_block()
61 struct drm_buddy_block *block; in amdgpu_is_vram_mgr_blocks_contiguous()
72 block = list_entry(block->link.next, struct drm_buddy_block, link); in amdgpu_is_vram_mgr_blocks_contiguous()
228 struct drm_buddy_block *block) in amdgpu_vram_mgr_vis_size()
253 struct drm_buddy_block *block; in amdgpu_vram_mgr_bo_visible_size()
275 struct drm_buddy_block *block; in amdgpu_vram_mgr_do_reserve()
394 struct drm_buddy_block *block; in amdgpu_vram_mgr_new()
495 struct drm_buddy_block *block; in amdgpu_vram_mgr_new()
582 struct drm_buddy_block *block; in amdgpu_vram_mgr_del()
[all …]
Damdgpu_vram_mgr.h46 static inline u64 amdgpu_vram_mgr_block_start(struct drm_buddy_block *block) in amdgpu_vram_mgr_block_start()
51 static inline u64 amdgpu_vram_mgr_block_size(struct drm_buddy_block *block) in amdgpu_vram_mgr_block_size()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c121 struct drm_buddy_block *block; in i915_ttm_buddy_man_alloc()
184 struct drm_buddy_block *block; in i915_ttm_buddy_man_intersects()
222 struct drm_buddy_block *block; in i915_ttm_buddy_man_compatible()
251 struct drm_buddy_block *block; in i915_ttm_buddy_man_debug()
Di915_scatterlist.c165 struct drm_buddy_block *block; in i915_rsgt_from_buddy_resource()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c458 struct drm_buddy_block *block; in igt_mock_max_segment()
539 struct drm_buddy_block *block; in igt_object_mappable_total()