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

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 27 18:21:31 UTC 2019


Quoting Matthew Auld (2019-09-27 18:33:50)
> +void
> +intel_memory_region_destroy(struct intel_memory_region *mem)
> +{
> +       if (mem->ops->release)
> +               mem->ops->release(mem);
> +
	mutex_destroy(&mem->mm_lock);

> +       kfree(mem);
> +}


More information about the Intel-gfx mailing list