SYNOPSIS
- struct drm_i915_gem_object * i915_gem_batch_pool_get(struct i915_gem_batch_pool * pool, size_t size);
ARGUMENTS
pool
-
- the batch buffer pool
size
- the minimum desired size of the returned buffer
DESCRIPTION
Returns an inactive buffer from pool with at least size bytes, with the pages pinned. The caller must i915_gem_object_unpin_pages on the returned object.
NOTE
Callers must hold the struct_mutex
RETURN
the buffer object or an error pointer
AUTHORS
Jesse Barnes <[email protected]>
Intel Corporation,
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT