Home
last modified time | relevance | path

Searched refs:drm_mm (Results 1 - 25 of 76) sorted by relevance

1234

/kernel/linux/linux-5.10/include/drm/
H A Ddrm_mm.h60 * 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 Ddrm_vma_manager.h26 #include <drm/drm_mm.h>
61 struct drm_mm vm_addr_space_mm;
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_mm.h62 * 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 Ddrm_vma_manager.h26 #include <drm/drm_mm.h>
61 struct drm_mm vm_addr_space_mm;
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_mm.c51 #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 Ddrm_mm.c51 #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 Dsis_drv.h33 #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 Dtest-drm_mm.c3 * 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 DMakefile7 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 Dvmwgfx_thp.c20 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 Dttm_range_manager.c35 #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 Ddrm_mm_test.c3 * 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 Dttm_range_manager.c36 #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 Dlima_vm.h7 #include <drm/drm_mm.h>
33 struct drm_mm mm;
/kernel/linux/linux-6.6/drivers/accel/ivpu/
H A Divpu_mmu_context.h9 #include <drm/drm_mm.h>
27 struct drm_mm mm;
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/
H A Dlima_vm.h7 #include <drm/drm_mm.h>
33 struct drm_mm mm;
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
H A Darmada_drm.h13 #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 Darmada_drm.h13 #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 Dvia_drv.h35 #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 Dpanfrost_device.h13 #include <drm/drm_mm.h>
127 struct drm_mm mm;
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.h42 struct drm_mm mm;
50 struct drm_mm mm;
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_gem_gtt.h12 #include <drm/drm_mm.h>
/kernel/linux/linux-6.6/include/drm/ttm/
H A Dttm_range_manager.h8 #include <drm/drm_mm.h>
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_gem_gtt.h12 #include <drm/drm_mm.h>
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h14 #include <drm/drm_mm.h>
131 struct drm_mm mm;

Completed in 13 milliseconds

1234