Searched refs:drm_buddy (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/include/drm/ |
D | drm_buddy.h | 64 struct drm_buddy { struct 127 drm_buddy_block_size(struct drm_buddy *mm, in drm_buddy_block_size() 133 int drm_buddy_init(struct drm_buddy *mm, u64 size, u64 chunk_size); 135 void drm_buddy_fini(struct drm_buddy *mm); 140 int drm_buddy_alloc_blocks(struct drm_buddy *mm, 146 int drm_buddy_block_trim(struct drm_buddy *mm, 150 void drm_buddy_free_block(struct drm_buddy *mm, struct drm_buddy_block *block); 152 void drm_buddy_free_list(struct drm_buddy *mm, struct list_head *objects); 154 void drm_buddy_print(struct drm_buddy *mm, struct drm_printer *p); 155 void drm_buddy_block_print(struct drm_buddy *mm,
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_buddy.c | 14 static struct drm_buddy_block *drm_block_alloc(struct drm_buddy *mm, in drm_block_alloc() 35 static void drm_block_free(struct drm_buddy *mm, in drm_block_free() 41 static void list_insert_sorted(struct drm_buddy *mm, in list_insert_sorted() 68 static void mark_free(struct drm_buddy *mm, in mark_free() 97 int drm_buddy_init(struct drm_buddy *mm, u64 size, u64 chunk_size) in drm_buddy_init() 187 void drm_buddy_fini(struct drm_buddy *mm) in drm_buddy_fini() 203 static int split_block(struct drm_buddy *mm, in split_block() 263 static void __drm_buddy_free(struct drm_buddy *mm, in __drm_buddy_free() 293 void drm_buddy_free_block(struct drm_buddy *mm, in drm_buddy_free_block() 308 void drm_buddy_free_list(struct drm_buddy *mm, struct list_head *objects) in drm_buddy_free_list() [all …]
|
D | Makefile | 85 obj-$(CONFIG_DRM_BUDDY) += drm_buddy.o
|
/Linux-v6.6/drivers/gpu/drm/tests/ |
D | drm_buddy_test.c | 46 static void __dump_block(struct kunit *test, struct drm_buddy *mm, in __dump_block() 55 static void dump_block(struct kunit *test, struct drm_buddy *mm, in dump_block() 67 static int check_block(struct kunit *test, struct drm_buddy *mm, in check_block() 141 static int check_blocks(struct kunit *test, struct drm_buddy *mm, in check_blocks() 203 static int check_mm(struct kunit *test, struct drm_buddy *mm) in check_mm() 332 struct drm_buddy mm; in drm_test_buddy_alloc_pathological() 410 struct drm_buddy mm; in drm_test_buddy_alloc_smoke() 502 struct drm_buddy mm; in drm_test_buddy_alloc_pessimistic() 597 struct drm_buddy mm; in drm_test_buddy_alloc_optimistic() 642 struct drm_buddy mm; in drm_test_buddy_alloc_range() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_ttm_buddy_manager.h | 16 struct drm_buddy; 36 struct drm_buddy *mm;
|
D | i915_ttm_buddy_manager.c | 19 struct drm_buddy mm; 41 struct drm_buddy *mm = &bman->mm; in i915_ttm_buddy_man_alloc() 176 struct drm_buddy *mm = &bman->mm; in i915_ttm_buddy_man_intersects() 214 struct drm_buddy *mm = &bman->mm; in i915_ttm_buddy_man_compatible() 353 struct drm_buddy *mm = &bman->mm; in i915_ttm_buddy_man_fini() 391 struct drm_buddy *mm = &bman->mm; in i915_ttm_buddy_man_reserve()
|
D | i915_scatterlist.c | 170 struct drm_buddy *mm = bman_res->mm; in i915_rsgt_from_buddy_resource()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.h | 31 struct drm_buddy mm;
|
D | amdgpu_vram_mgr.c | 273 struct drm_buddy *mm = &mgr->mm; in amdgpu_vram_mgr_do_reserve() 432 struct drm_buddy *mm = &mgr->mm; in amdgpu_vram_mgr_new() 621 struct drm_buddy *mm = &mgr->mm; in amdgpu_vram_mgr_del() 841 struct drm_buddy *mm = &mgr->mm; in amdgpu_vram_mgr_debug()
|
/Linux-v6.6/drivers/gpu/drm/i915/selftests/ |
D | intel_memory_region.c | 374 struct drm_buddy *mm; in igt_mock_splintered_region() 459 struct drm_buddy *mm; in igt_mock_max_segment() 538 struct drm_buddy *mm = bman_res->mm; in igt_object_mappable_total()
|
/Linux-v6.6/Documentation/gpu/ |
D | drm-mm.rst | 511 .. kernel-doc:: drivers/gpu/drm/drm_buddy.c
|