diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-04-06 17:19:43 -0500 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2021-07-08 12:45:33 -0500 |
commit | d0cc60b1fc32002ee32225097f58bc070275c7a4 (patch) | |
tree | 73a482fce3c06576295e9fc71dec87d928b78a93 /lib/intel_ctx.h | |
parent | 942d6d9940b542202c61e2c4504754feae1fe255 (diff) |
tests/i915/gem_ctx_persistence: Convert to intel_ctx_t
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/intel_ctx.h')
-rw-r--r-- | lib/intel_ctx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_ctx.h b/lib/intel_ctx.h index 054fecc4..e34cefc1 100644 --- a/lib/intel_ctx.h +++ b/lib/intel_ctx.h @@ -16,6 +16,7 @@ * intel_ctx_cfg_t: * @flags: Context create flags * @vm: VM to inherit or 0 for using a per-context VM + * @nopersist: set I915_CONTEXT_PARAM_PERSISTENCE to 0 * @num_engines: Number of client-specified engines or 0 for legacy mode * @engines: Client-specified engines * @@ -42,6 +43,7 @@ typedef struct intel_ctx_cfg { uint32_t flags; uint32_t vm; + bool nopersist; unsigned int num_engines; struct i915_engine_class_instance engines[GEM_MAX_ENGINES]; } intel_ctx_cfg_t; |