Re: [Intel-gfx] [PATCH 08/18] drm/i915: Combine seqno + tracking into a global timeline struct

2016-09-14 Thread Joonas Lahtinen
On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote: >  i915_next_seqno_get(void *data, u64 *val) >  { >   struct drm_i915_private *dev_priv = data; > - int ret; > - > - ret = mutex_lock_interruptible(&dev_priv->drm.struct_mutex); > - if (ret) > - return ret; > - > -

[Intel-gfx] [PATCH 08/18] drm/i915: Combine seqno + tracking into a global timeline struct

2016-09-13 Thread Chris Wilson
Our timelines are more than just a seqno. They also provide an ordered list of requests to be executed. Due to the restriction of handling individual address spaces, we are limited to a timeline per address space but we use a fence context per engine within. Our first step to introducing independe