[Intel-gfx] [PATCH 51/53] drm/i915/bdw: Document Logical Rings, LR contexts and Execlists

Chris Wilson chris at chris-wilson.co.uk
Fri Jun 13 18:51:16 CEST 2014


On Fri, Jun 13, 2014 at 04:38:09PM +0100, oscar.mateo at intel.com wrote:
> +/**
> + * intel_execlists_ctx_id() - get the Execlists Context ID
> + * @ctx_obj: Logical Ring Context backing object.
> + *
> + * Do not confuse with ctx->id! Unfortunately we have a name overload
> + * here: the old context ID we pass to userspace as a handler so that
> + * they can refer to a context, and the new context ID we pass to the
> + * ELSP so that the GPU can inform us of the context status via
> + * interrupts.
> + *
> + * Return: 20-bits globally unique context ID.
> + */

Use tag for the ctx id we pass around in hw?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list