Home
last modified time | relevance | path

Searched refs:drm_buddy (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/include/drm/
H A Ddrm_buddy.h64 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 *m
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_buddy.c10 #include <drm/drm_buddy.h>
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 *m
[all...]
H A DMakefile85 obj-$(CONFIG_DRM_BUDDY) += drm_buddy.o
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_buddy_test.c12 #include <drm/drm_buddy.h>
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 m in drm_test_buddy_alloc_optimistic()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vram_mgr.h27 #include <drm/drm_buddy.h>
31 struct drm_buddy mm;
H A Damdgpu_vram_mgr.c273 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_ttm_buddy_manager.h16 struct drm_buddy;
36 struct drm_buddy *mm;
H A Di915_ttm_buddy_manager.c11 #include <drm/drm_buddy.h>
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()
H A Di915_scatterlist.c10 #include <drm/drm_buddy.h>
170 struct drm_buddy *mm = bman_res->mm; in i915_rsgt_from_buddy_resource()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Dintel_memory_region.c9 #include <drm/drm_buddy.h>
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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c10 #include <drm/drm_buddy.h>

Completed in 9 milliseconds