[Freedreno] [PATCH] drm/msm: for array in-fences, check if all backing fences are from our own context before waiting

Philipp Zabel p.zabel at pengutronix.de
Mon Mar 20 10:10:27 UTC 2017


On Sat, 2017-03-18 at 08:48 -0400, Rob Clark wrote:
> On Fri, Mar 17, 2017 at 2:38 PM, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> > Use the dma_fence_match_context helper to check if all backing fences
> > are from our own context, in which case we don't have to wait.
> >
> > Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> > Cc: Rob Clark <robdclark at gmail.com>
> > Cc: Gustavo Padovan <gustavo.padovan at collabora.com>
> > ---
> > Not sure if this can be handled exactly the same as for etnaviv. This depends on
> > d5b72a2123df ("dma-fence: add dma_fence_match_context helper").
> 
> Thanks, the helper is a nice improvement.  I'll pull this in when the
> dma-fence patch lands (seems not to be in drm-next yet)..  and also
> maybe shorten up the subject line a bit ;-)

Yes, thank you :)

regards
Philipp



More information about the Freedreno mailing list