Re: [PATCH 01/26] drm/i915: Keep engine alive as we retire the context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> writes:

> Quoting Mika Kuoppala (2019-06-18 14:45:45)
>> Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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

Not the first time I trip on the naming in here.
But I don't have better suggestions.

Reviewed-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux