Re: [Intel-gfx] [PATCH v2 04/16] drm/i915/pxp: allocate a vcs context for pxp usage

2021-03-03 Thread Chris Wilson
Quoting Daniele Ceraolo Spurio (2021-03-01 19:31:48) > @@ -232,6 +235,13 @@ ktime_t intel_engine_get_busy_time(struct > intel_engine_cs *engine, > > u32 intel_engine_context_size(struct intel_gt *gt, u8 class); > > +struct intel_context * > +intel_engine_pinned_context_create(struct intel_eng

[Intel-gfx] [PATCH v2 04/16] drm/i915/pxp: allocate a vcs context for pxp usage

2021-03-01 Thread Daniele Ceraolo Spurio
The context is required to send the session termination commands to the VCS, which will be implemented in a follow-up patch. We can also use the presence of the context as a check of pxp initialization completion. v2: use perma-pinned context (Chris) Signed-off-by: Daniele Ceraolo Spurio Cc: Chr