/linux/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; argument 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 200 color_adjustdrm_mm global() argument 209 head_nodedrm_mm global() argument [all...] |
H A D | drm_vma_manager.h | 26 #include <drm/drm_mm.h> 61 struct drm_mm vm_addr_space_mm;
|
/linux/tools/testing/selftests/drivers/gpu/ |
H A D | drm_mm.sh | 3 # Runs API tests for struct drm_mm (DRM range manager) 5 if ! /sbin/modprobe -n -q test-drm_mm; then 6 echo "drivers/gpu/drm_mm: module test-drm_mm is not found in /lib/modules/`uname -r` [skip]" 10 if /sbin/modprobe -q test-drm_mm; then 11 /sbin/modprobe -q -r test-drm_mm 12 echo "drivers/gpu/drm_mm: ok" 14 echo "drivers/gpu/drm_mm: module test-drm_mm could not be removed [FAIL]"
|
/linux/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...] |
H A D | Makefile | 59 drm_mm.o \
|
/linux/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> 38 static bool assert_no_holes(struct kunit *test, const struct drm_mm *mm) in assert_no_holes() 63 static bool assert_one_hole(struct kunit *test, const struct drm_mm *mm, u64 start, u64 end) in assert_one_hole() 103 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm, in assert_node() 138 struct drm_mm mm; in drm_test_mm_init() 141 /* Start with some simple checks on initialising the struct drm_mm */ in drm_test_mm_init() 168 KUNIT_FAIL(test, "failed to reserve whole drm_mm\n"); in drm_test_mm_init() 192 struct drm_mm mm; in drm_test_mm_debug() 195 /* Create a small drm_mm wit in drm_test_mm_debug() [all...] |
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_range_manager.c | 36 #include <drm/drm_mm.h> 50 struct drm_mm mm; 67 struct drm_mm *mm = &rman->mm; in ttm_range_man_alloc() 221 struct drm_mm *mm = &rman->mm; in ttm_range_man_fini_nocheck()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_ggtt_types.h | 9 #include <drm/drm_mm.h> 47 struct drm_mm mm;
|
H A D | xe_ggtt.c | 842 const struct drm_mm *mm = &ggtt->mm; in xe_ggtt_largest_hole() 942 const struct drm_mm *mm = &ggtt->mm; in xe_ggtt_print_holes()
|
/linux/drivers/gpu/drm/lima/ |
H A D | lima_vm.h | 7 #include <drm/drm_mm.h> 33 struct drm_mm mm;
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_drv.h | 65 * @mm_lock: protect drm_mm on multi-threads. 71 struct drm_mm mm;
|
/linux/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 */
|
/linux/drivers/accel/amdxdna/ |
H A D | amdxdna_gem.h | 43 struct drm_mm mm; /* For AMDXDNA_BO_DEV_HEAP */
|
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_mmu.h | 76 struct drm_mm mm;
|
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | TODO | 13 drm_mm manager
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.h | 21 #include <drm/drm_mm.h> 330 struct drm_mm dlist_mm; 333 struct drm_mm lbm_mm; 336 struct drm_mm upm_mm;
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 189 struct drm_mm mm;
|
/linux/drivers/gpu/drm/tegra/ |
H A D | drm.h | 40 struct drm_mm mm;
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_fw.h | 11 #include <drm/drm_mm.h> 341 struct drm_mm fw_mm;
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.h | 49 struct drm_mm mm;
|
/linux/Documentation/gpu/ |
H A D | drm-mm.rst | 451 .. kernel-doc:: drivers/gpu/drm/drm_mm.c 457 .. kernel-doc:: drivers/gpu/drm/drm_mm.c 463 .. kernel-doc:: include/drm/drm_mm.h 466 .. kernel-doc:: drivers/gpu/drm/drm_mm.c
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem.h | 105 struct drm_mm mm;
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.h | 152 struct drm_mm mm;
|
/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_drv.h | 261 struct drm_mm host_visible_mm;
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gtt.h | 26 #include <drm/drm_mm.h> 251 struct drm_mm mm;
|