Lines Matching refs:drm_mm
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)
63 static bool assert_one_hole(struct kunit *test, const struct drm_mm *mm, u64 start, u64 end)
103 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm,
138 struct drm_mm mm;
141 /* Start with some simple checks on initialising the struct drm_mm */
168 KUNIT_FAIL(test, "failed to reserve whole drm_mm\n");
192 struct drm_mm mm;
195 /* Create a small drm_mm with a couple of nodes and a few holes, and
196 * check that the debug iterator doesn't explode over a trivial drm_mm.
217 static bool expect_insert(struct kunit *test, struct drm_mm *mm,
243 struct drm_mm mm;
290 struct drm_mm mm;
352 .name = "drm_mm",
359 MODULE_DESCRIPTION("Test cases for the drm_mm range manager");