Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
A Di915_ttm_buddy_manager.c36 struct i915_ttm_buddy_resource *bman_res; in i915_ttm_buddy_man_alloc() local
46 bman_res = kzalloc(sizeof(*bman_res), GFP_KERNEL); in i915_ttm_buddy_man_alloc()
47 if (!bman_res) in i915_ttm_buddy_man_alloc()
50 ttm_resource_init(bo, place, &bman_res->base); in i915_ttm_buddy_man_alloc()
51 INIT_LIST_HEAD(&bman_res->blocks); in i915_ttm_buddy_man_alloc()
52 bman_res->mm = mm; in i915_ttm_buddy_man_alloc()
54 GEM_BUG_ON(!bman_res->base.num_pages); in i915_ttm_buddy_man_alloc()
104 *res = &bman_res->base; in i915_ttm_buddy_man_alloc()
109 i915_buddy_free_list(mm, &bman_res->blocks); in i915_ttm_buddy_man_alloc()
112 kfree(bman_res); in i915_ttm_buddy_man_alloc()
[all …]
A Di915_scatterlist.c126 struct i915_ttm_buddy_resource *bman_res = to_ttm_buddy_resource(res); in i915_sg_from_buddy_resource() local
129 struct i915_buddy_mm *mm = bman_res->mm; in i915_sg_from_buddy_resource()
130 struct list_head *blocks = &bman_res->blocks; in i915_sg_from_buddy_resource()

Completed in 7 milliseconds