Home
last modified time | relevance | path

Searched refs:drm_buddy_block_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/
Ddrm_buddy.c159 BUG_ON(drm_buddy_block_size(mm, root) < chunk_size); in drm_buddy_init()
297 mm->avail += drm_buddy_block_size(mm, block); in drm_buddy_free_block()
362 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in alloc_range_bias()
506 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in __alloc_range()
523 mm->avail -= drm_buddy_block_size(mm, block); in __alloc_range()
610 if (new_size > drm_buddy_block_size(mm, block)) in drm_buddy_block_trim()
616 if (new_size == drm_buddy_block_size(mm, block)) in drm_buddy_block_trim()
621 mm->avail += drm_buddy_block_size(mm, block); in drm_buddy_block_trim()
632 mm->avail -= drm_buddy_block_size(mm, block); in drm_buddy_block_trim()
725 mm->avail -= drm_buddy_block_size(mm, block); in drm_buddy_alloc_blocks()
[all …]
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_buddy_test.c52 drm_buddy_block_size(mm, block), !block->parent, buddy); in __dump_block()
84 block_size = drm_buddy_block_size(mm, block); in check_block()
125 if (drm_buddy_block_size(mm, buddy) != block_size) { in check_block()
166 prev_block_size = drm_buddy_block_size(mm, prev); in check_blocks()
178 total += drm_buddy_block_size(mm, block); in check_blocks()
258 prev_block_size = drm_buddy_block_size(mm, prev); in check_mm()
278 total += drm_buddy_block_size(mm, root); in check_mm()
467 total += drm_buddy_block_size(&mm, block); in drm_test_buddy_alloc_smoke()
719 KUNIT_EXPECT_EQ_MSG(test, drm_buddy_block_size(&mm, block), in drm_test_buddy_alloc_limit()
722 drm_buddy_block_size(&mm, block), in drm_test_buddy_alloc_limit()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c129 (drm_buddy_block_size(mm, block) >> PAGE_SHIFT); in i915_ttm_buddy_man_alloc()
205 (drm_buddy_block_size(mm, block) >> PAGE_SHIFT); in i915_ttm_buddy_man_intersects()
238 (drm_buddy_block_size(mm, block) >> PAGE_SHIFT); in i915_ttm_buddy_man_compatible()
Di915_scatterlist.c192 block_size = min_t(u64, size, drm_buddy_block_size(mm, block)); in i915_rsgt_from_buddy_resource()
/linux-6.1.9/include/drm/
Ddrm_buddy.h127 drm_buddy_block_size(struct drm_buddy *mm, in drm_buddy_block_size() function
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c498 if (drm_buddy_block_size(mm, block) > size) in igt_mock_max_segment()
499 size = drm_buddy_block_size(mm, block); in igt_mock_max_segment()
545 u64 end = start + drm_buddy_block_size(mm, block); in igt_object_mappable_total()