Name

intel_execlists_ctx_id — get the Execlists Context ID

Synopsis

u32 intel_execlists_ctx_id (struct drm_i915_gem_object * ctx_obj);
 

Arguments

ctx_obj

Logical Ring Context backing object.

Description

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.