/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_mm.h | 60 * The &struct drm_mm range manager supports finding a suitable modes using 149 * This represents an allocated block in a &drm_mm allocator. Except for 163 struct drm_mm *mm; 181 * struct drm_mm - DRM allocator 188 struct drm_mm { struct 227 struct drm_mm *mm; 248 * drm_mm range manager. 250 * Drivers should use this helper for proper encapsulation of drm_mm 263 * @mm: drm_mm to check 265 * Drivers should clear the struct drm_mm prio [all...] |
H A D | drm_vma_manager.h | 26 #include <drm/drm_mm.h> 61 struct drm_mm vm_addr_space_mm;
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mm.h | 62 * The &struct drm_mm range manager supports finding a suitable modes using 151 * This represents an allocated block in a &drm_mm allocator. Except for 165 struct drm_mm *mm; 183 * struct drm_mm - DRM allocator 190 struct drm_mm { struct 229 struct drm_mm *mm; 250 * drm_mm range manager. 252 * Drivers should use this helper for proper encapsulation of drm_mm 265 * @mm: drm_mm to check 267 * Drivers should clear the struct drm_mm prio [all...] |
H A D | drm_vma_manager.h | 26 #include <drm/drm_mm.h> 61 struct drm_mm vm_addr_space_mm;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_mm.c | 51 #include <drm/drm_mm.h> 56 * drm_mm provides a simple range allocator. The drivers are free to use the 57 * resource allocator from the linux core if it suits them, the upside of drm_mm 61 * The main data struct is &drm_mm, allocations are tracked in &drm_mm_node. 63 * datastructures. drm_mm itself will not do any memory allocations of its own, 74 * drm_mm maintains a stack of most recently freed holes, which of all 77 * searches are O(num_holes). Given that all the fancy features drm_mm supports 81 * drm_mm supports a few features: Alignment and range restrictions can be 118 static void show_leaks(struct drm_mm *mm) in show_leaks() 149 static void show_leaks(struct drm_mm *m in save_stack() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mm.c | 51 #include <drm/drm_mm.h> 56 * drm_mm provides a simple range allocator. The drivers are free to use the 57 * resource allocator from the linux core if it suits them, the upside of drm_mm 61 * The main data struct is &drm_mm, allocations are tracked in &drm_mm_node. 63 * datastructures. drm_mm itself will not do any memory allocations of its own, 74 * drm_mm maintains a stack of most recently freed holes, which of all 77 * searches are O(num_holes). Given that all the fancy features drm_mm supports 81 * drm_mm supports a few features: Alignment and range restrictions can be 118 static void show_leaks(struct drm_mm *mm) in show_leaks() 146 static void show_leaks(struct drm_mm *m in save_stack() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sis/ |
H A D | sis_drv.h | 33 #include <drm/drm_mm.h> 62 struct drm_mm vram_mm; 63 struct drm_mm agp_mm;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_mm.c | 3 * Test cases for the drm_mm range manager 6 #define pr_fmt(fmt) "drm_mm: " fmt 15 #include <drm/drm_mm.h> 54 static bool assert_no_holes(const struct drm_mm *mm) in assert_no_holes() 78 static bool assert_one_hole(const struct drm_mm *mm, u64 start, u64 end) in assert_one_hole() 107 static bool assert_continuous(const struct drm_mm *mm, u64 size) in assert_continuous() 169 static bool assert_node(struct drm_mm_node *node, struct drm_mm *mm, in assert_node() 207 struct drm_mm mm; in igt_init() 211 /* Start with some simple checks on initialising the struct drm_mm */ in igt_init() 241 pr_err("failed to reserve whole drm_mm\ in igt_init() [all...] |
H A D | Makefile | 7 obj-$(CONFIG_DRM_DEBUG_SELFTEST) += test-drm_mm.o test-drm_modeset.o test-drm_cmdline_parser.o
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_thp.c | 20 struct drm_mm mm; 31 static int vmw_thp_insert_aligned(struct drm_mm *mm, struct drm_mm_node *node, in vmw_thp_insert_aligned() 55 struct drm_mm *mm = &rman->mm; in vmw_thp_get_node() 150 struct drm_mm *mm = &rman->mm; in vmw_thp_fini()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_range_manager.c | 35 #include <drm/drm_mm.h> 48 struct drm_mm mm; 63 struct drm_mm *mm = &rman->mm; in ttm_range_man_alloc() 147 struct drm_mm *mm = &rman->mm; in ttm_range_man_fini()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 3 * Test cases for the drm_mm range manager 16 #include <drm/drm_mm.h> 46 static bool assert_no_holes(struct kunit *test, const struct drm_mm *mm) in assert_no_holes() 71 static bool assert_one_hole(struct kunit *test, const struct drm_mm *mm, u64 start, u64 end) in assert_one_hole() 100 static bool assert_continuous(struct kunit *test, const struct drm_mm *mm, u64 size) in assert_continuous() 162 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm, in assert_node() 197 struct drm_mm mm; in drm_test_mm_init() 200 /* Start with some simple checks on initialising the struct drm_mm */ in drm_test_mm_init() 227 KUNIT_FAIL(test, "failed to reserve whole drm_mm\n"); in drm_test_mm_init() 250 struct drm_mm m in drm_test_mm_debug() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
H A D | ttm_range_manager.c | 36 #include <drm/drm_mm.h> 48 struct drm_mm mm; 65 struct drm_mm *mm = &rman->mm; in ttm_range_man_alloc() 219 struct drm_mm *mm = &rman->mm; in ttm_range_man_fini_nocheck()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_vm.h | 7 #include <drm/drm_mm.h> 33 struct drm_mm mm;
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.h | 9 #include <drm/drm_mm.h> 27 struct drm_mm mm;
|
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_vm.h | 7 #include <drm/drm_mm.h> 33 struct drm_mm mm;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
H A D | armada_drm.h | 13 #include <drm/drm_mm.h> 60 struct drm_mm linear; /* protected by linear_lock */
|
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/ |
H A D | armada_drm.h | 13 #include <drm/drm_mm.h> 58 struct drm_mm linear; /* protected by linear_lock */
|
/kernel/linux/linux-5.10/drivers/gpu/drm/via/ |
H A D | via_drv.h | 35 #include <drm/drm_mm.h> 102 struct drm_mm vram_mm; 104 struct drm_mm agp_mm;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 13 #include <drm/drm_mm.h> 127 struct drm_mm mm;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.h | 42 struct drm_mm mm; 50 struct drm_mm mm;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.h | 12 #include <drm/drm_mm.h>
|
/kernel/linux/linux-6.6/include/drm/ttm/ |
H A D | ttm_range_manager.h | 8 #include <drm/drm_mm.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.h | 12 #include <drm/drm_mm.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 14 #include <drm/drm_mm.h> 131 struct drm_mm mm;
|