SYNOPSIS
- int intel_lr_context_deferred_alloc(struct intel_context * ctx, struct intel_engine_cs * engine);
ARGUMENTS
ctx
-
- LR context to create.
engine
- -- undescribed --
DESCRIPTION
This function can be called more than once, with different engines, if we plan to use the context with them. The context backing objects and the ringbuffers (specially the ringbuffer backing objects) suck a lot of memory up, and that's why
THE CREATION IS A DEFERRED CALL
it's better to make sure first that we need to use a given ring with the context.
RETURN
non-zero on error.
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