Searched refs:drm_buddy_block (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/include/drm/ |
D | drm_buddy.h | 28 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.6.21/drivers/gpu/drm/ |
D | drm_buddy.c | 14 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.6.21/drivers/gpu/drm/tests/ |
D | drm_buddy_test.c | 47 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() 144 struct drm_buddy_block *block; in check_blocks() 145 struct drm_buddy_block *prev; in check_blocks() 205 struct drm_buddy_block *root; in check_mm() 206 struct drm_buddy_block *prev; in check_mm() 227 struct drm_buddy_block *block; in check_mm() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_res_cursor.h | 58 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() 128 struct drm_buddy_block *block; in amdgpu_res_next() 149 block = list_entry(next, struct drm_buddy_block, link); in amdgpu_res_next()
|
D | amdgpu_vram_mgr.c | 53 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() 433 struct drm_buddy_block *block; in amdgpu_vram_mgr_new() 535 struct drm_buddy_block *block; in amdgpu_vram_mgr_new() 622 struct drm_buddy_block *block; in amdgpu_vram_mgr_del() [all …]
|
D | amdgpu_vram_mgr.h | 46 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.6.21/drivers/gpu/drm/i915/ |
D | i915_ttm_buddy_manager.c | 121 struct drm_buddy_block *block; in i915_ttm_buddy_man_alloc() 177 struct drm_buddy_block *block; in i915_ttm_buddy_man_intersects() 215 struct drm_buddy_block *block; in i915_ttm_buddy_man_compatible() 244 struct drm_buddy_block *block; in i915_ttm_buddy_man_debug()
|
D | i915_scatterlist.c | 172 struct drm_buddy_block *block; in i915_rsgt_from_buddy_resource()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | intel_memory_region.c | 458 struct drm_buddy_block *block; in igt_mock_max_segment() 539 struct drm_buddy_block *block; in igt_object_mappable_total()
|