Re: [Intel-gfx] [PATCH 15/18] drm/i915: Reserve space in the global seqno during request allocation

2016-09-19 Thread Joonas Lahtinen
On ma, 2016-09-19 at 18:35 +0300, Jani Nikula wrote: > > On Mon, 19 Sep 2016, Joonas Lahtinen > > wrote: > > > > On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote: > > > > > > +static int reserve_global_seqno(struct drm_i915_private *i915) > > >  { > > > -

Re: [Intel-gfx] [PATCH 15/18] drm/i915: Reserve space in the global seqno during request allocation

2016-09-19 Thread Jani Nikula
On Mon, 19 Sep 2016, Joonas Lahtinen wrote: > On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote: >> +static int reserve_global_seqno(struct drm_i915_private *i915) >>  { >> -struct i915_gem_timeline *tl = _priv->gt.global_timeline; >> +struct

Re: [Intel-gfx] [PATCH 15/18] drm/i915: Reserve space in the global seqno during request allocation

2016-09-19 Thread Joonas Lahtinen
On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote: > +static int reserve_global_seqno(struct drm_i915_private *i915) >  { > - struct i915_gem_timeline *tl = _priv->gt.global_timeline; > + struct i915_gem_timeline *tl = >gt.global_timeline; > + u32 next_seqno =