[Intel-gfx] [RFC 5/5] drm/i915: Per batch buffer VCS balancing

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 16 09:57:56 UTC 2017


Quoting Oscar Mateo (2017-11-16 00:21:40)
> 
> 
> On 11/13/2017 05:09 AM, Tvrtko Ursulin wrote:
> > From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> >
> > +     if (instance == I915_EXEC_INSTANCE_ANY)
> > +             instance = eb_select_vcs_engine(eb, file_priv, eb_flags);
> 
> At this moment we don't know that this is for the video engine:
> 
> if (instance == I915_EXEC_INSTANCE_ANY) {
>      if (class == I915_EXEC_BSD)
>          instance = eb_select_vcs_engine(eb, file_priv, eb_flags);
>      else
>          instance = 0;
> }

Too early for scheduling groups?
-Chris


More information about the Intel-gfx mailing list