[Intel-gfx] [PATCH v2] drm/i915/gt: Prevent queuing retire workers on the virtual engine

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 6 16:23:55 UTC 2020


Quoting Chris Wilson (2020-02-06 16:12:32)
> +static void __ve_request_submit(const struct virtual_engine *ve,
> +                               struct i915_request *rq)
> +{
> +       /*
> +        * Select a real engine to act as our permanent storage
> +        * and signaler for the stale request, and prevent
> +        * this virtual engine from leaking into the execution state.
> +        */
> +       rq->engine = ve->siblings[0]; /* chosen at random! */
> +       __i915_request_submit(rq);

Wait just a minute, who's lock do you think this is!
-Chris


More information about the Intel-gfx mailing list