Re: [Intel-gfx] [PATCH v3 5/7] drm/i915: add a new perf configuration execbuf parameter

2019-06-04 Thread Lionel Landwerlin
On 04/06/2019 16:40, Chris Wilson wrote: Quoting Lionel Landwerlin (2019-06-04 14:11:38) list_add_tail(>client_link, >file_priv->mm.request_list); } +static int eb_oa_config(struct i915_execbuffer *eb) +{ + struct i915_vma *oa_vma; + int err; + + if

Re: [Intel-gfx] [PATCH v3 5/7] drm/i915: add a new perf configuration execbuf parameter

2019-06-04 Thread Chris Wilson
Quoting Lionel Landwerlin (2019-06-04 14:11:38) > list_add_tail(>client_link, >file_priv->mm.request_list); > } > > +static int eb_oa_config(struct i915_execbuffer *eb) > +{ > + struct i915_vma *oa_vma; > + int err; > + > + if (!eb->oa_config) > + return

[Intel-gfx] [PATCH v3 5/7] drm/i915: add a new perf configuration execbuf parameter

2019-06-04 Thread Lionel Landwerlin
We want the ability to dispatch a set of command buffer to the hardware, each with a different OA configuration. To achieve this, we reuse a couple of fields from the execbuf2 struct (I CAN HAZ execbuf3?) to notify what OA configuration should be used for a batch buffer. This requires the process