Re: [PATCH 11/13] drm/i915: Extend execution fence to support a callback

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

 



Quoting Tvrtko Ursulin (2019-03-11 13:09:11)
> 
> 
> On 08/03/2019 14:12, Chris Wilson wrote:
> > +int
> > +i915_request_await_execution(struct i915_request *rq,
> > +                          struct dma_fence *fence,
> > +                          void (*hook)(struct i915_request *rq,
> > +                                       struct dma_fence *signal))
> > +{
> > +     struct dma_fence **child = &fence;
> > +     unsigned int nchild = 1;
> > +     int ret;
> > +
> > +     if (dma_fence_is_array(fence)) {
> > +             struct dma_fence_array *array = to_dma_fence_array(fence);
> > +
> > +             /* XXX Error for signal-on-any fence arrays */
> 
> Unfinished?

Patches to identify signal-on-any fence arrays are still in the aether.
It doesn't really matter since they can't reach us via sync-file yet.
But they exist in the dma-fence landscape, so I keep on copying this
warning around.
-Chris
_______________________________________________
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