Home
last modified time | relevance | path

Searched refs:bman_res (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_ttm_buddy_manager.c51 bman_res = kzalloc(sizeof(*bman_res), GFP_KERNEL); in i915_ttm_buddy_man_alloc()
52 if (!bman_res) in i915_ttm_buddy_man_alloc()
57 bman_res->mm = mm; in i915_ttm_buddy_man_alloc()
66 size = bman_res->base.size; in i915_ttm_buddy_man_alloc()
105 &bman_res->blocks, in i915_ttm_buddy_man_alloc()
106 bman_res->flags); in i915_ttm_buddy_man_alloc()
119 bman_res->used_visible_size = PFN_UP(bman_res->base.size); in i915_ttm_buddy_man_alloc()
145 bman_res->base.start = 0; in i915_ttm_buddy_man_alloc()
149 *res = &bman_res->base; in i915_ttm_buddy_man_alloc()
157 kfree(bman_res); in i915_ttm_buddy_man_alloc()
[all …]
A Di915_scatterlist.c167 struct i915_ttm_buddy_resource *bman_res = to_ttm_buddy_resource(res); in i915_rsgt_from_buddy_resource() local
170 struct drm_buddy *mm = bman_res->mm; in i915_rsgt_from_buddy_resource()
171 struct list_head *blocks = &bman_res->blocks; in i915_rsgt_from_buddy_resource()
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c646 struct i915_ttm_buddy_resource *bman_res = to_ttm_buddy_resource(res); in i915_ttm_resource_mappable() local
651 return bman_res->used_visible_size == PFN_UP(bman_res->base.size); in i915_ttm_resource_mappable()
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dintel_memory_region.c536 struct i915_ttm_buddy_resource *bman_res = in igt_object_mappable_total() local
538 struct drm_buddy *mm = bman_res->mm; in igt_object_mappable_total()
543 list_for_each_entry(block, &bman_res->blocks, link) { in igt_object_mappable_total()

Completed in 10 milliseconds