[Intel-gfx] [PATCH 01/26] drm/i915: Keep engine alive as we retire the context
Chris Wilson
chris at chris-wilson.co.uk
Tue Jun 18 14:03:52 UTC 2019
Quoting Chris Wilson (2019-06-18 14:59:02)
> Quoting Mika Kuoppala (2019-06-18 14:45:45)
> > Chris Wilson <chris at chris-wilson.co.uk> writes:
> > > @@ -328,6 +345,7 @@ void i915_active_acquire_barrier(struct i915_active *ref)
> > >
> > > llist_add((struct llist_node *)&node->base.link,
> > > &engine->barrier_tasks);
> > > + intel_engine_pm_put(engine);
> >
> > But you said that you keep the wakeref until unpin?
>
> intel_context_unpin ->
> intel_context_active_release ->
> i915_active_acquire_barrier
That should probably be renamed to i915_active_release_barrier.
Possibly, something even more imaginative.
-Chris
More information about the Intel-gfx
mailing list