[Intel-gfx] [PATCH 03/22] drm/i915: introduce intel_memory_region

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 27 20:27:45 UTC 2019


Quoting Matthew Auld (2019-09-27 18:33:50)
> +void
> +__intel_memory_region_put_block_buddy(struct i915_buddy_block *block)
> +{
> +       struct list_head blocks;
LIST_HEAD(blocks); (and no INIT_LIST_HEAD required)

> +
> +       INIT_LIST_HEAD(&blocks);
> +       list_add(&block->link, &blocks);
> +       __intel_memory_region_put_pages_buddy(block->private, &blocks);
> +}


More information about the Intel-gfx mailing list