[Intel-gfx] [PATCH 2/2] drm/i915: Only emit one semaphore per request

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 2 12:39:16 UTC 2019


Quoting Tvrtko Ursulin (2019-04-02 13:36:02)
> 
> On 01/04/2019 16:57, Chris Wilson wrote:
> > diff --git a/drivers/gpu/drm/i915/i915_scheduler_types.h b/drivers/gpu/drm/i915/i915_scheduler_types.h
> > index 5c94b3eb5c81..aa3aeae5404a 100644
> > --- a/drivers/gpu/drm/i915/i915_scheduler_types.h
> > +++ b/drivers/gpu/drm/i915/i915_scheduler_types.h
> > @@ -76,7 +76,8 @@ struct i915_sched_node {
> >       struct list_head link;
> >       struct i915_sched_attr attr;
> >       unsigned int flags;
> > -#define I915_SCHED_HAS_SEMAPHORE     BIT(0)
> > +#define I915_SCHED_HAS_SEMAPHORE_CHAIN       BIT(0)
> > +     unsigned int semaphores; /* intel_engine_mask_t */
> 
> But can't use the type yet?

It took an extra patch,
https://patchwork.freedesktop.org/patch/295860/?series=58842&rev=1
-Chris


More information about the Intel-gfx mailing list