[Intel-gfx] [igt-dev] [PATCH i-g-t 05/21] wsim/media-bench: i915 balancing

Chris Wilson chris at chris-wilson.co.uk
Fri May 10 13:23:31 UTC 2019


Quoting Tvrtko Ursulin (2019-05-08 13:10:42)
> @@ -841,7 +846,11 @@ eb_set_engine(struct drm_i915_gem_execbuffer2 *eb,
>         if (engine == VCS2 && (flags & VCS2REMAP))
>                 engine = BCS;
>  
> -       eb->flags = eb_engine_map[engine];
> +       if ((flags & I915) && engine == VCS) {
> +               eb->flags = 0;
> +       } else {
> +               eb->flags = eb_engine_map[engine];
> +       }

You drop these brackets in a later patch.
-Chris


More information about the Intel-gfx mailing list