Name

guc_client_alloc — Allocate an i915_guc_client

Synopsis

struct i915_guc_client * guc_client_alloc (struct drm_device * dev,
 uint32_t priority,
 struct i915_gem_context * ctx);
 

Arguments

dev

drm device

priority

four levels priority _CRITICAL, _HIGH, _NORMAL and _LOW The kernel client to replace ExecList submission is created with NORMAL priority. Priority of a client for scheduler can be HIGH, while a preemption context can use CRITICAL.

ctx

the context that owns the client (we use the default render context)

Return

An i915_guc_client object if success, else NULL.