[Bug 95472] [i915] Feature request: Add support for fencing for PRIME setups

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 17 08:05:48 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95472

--- Comment #45 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Axel Davy from comment #44)
> (In reply to Chris Wilson from comment #43)
> > There's no synchronisation point in dri3 with X:
> > 
> > diff --git a/src/loader/loader_dri3_helper.c
> > b/src/loader/loader_dri3_helper.c
> > index a55719a..6b5736b 100644
> > --- a/src/loader/loader_dri3_helper.c
> > +++ b/src/loader/loader_dri3_helper.c
> > @@ -1399,6 +1399,7 @@ loader_dri3_get_buffers(__DRIdrawable *driDrawable,
> >        buffers->back = back->image;
> >     }
> >  
> > +   loader_dri3_wait_x(draw);
> >     draw->stamp = stamp;
> >  
> >     return true;
> > 
> > brings it into line with dri2.
> 
> I don't see why waitX is required.
> 
> The call has only an impact when a fake front buffer is used.
> And when fake front buffer is used, the same buffer is always used and it
> seems correctly updated when needed.

Because the tiled_buffer is not kept to date with X.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160817/320414dc/attachment.html>


More information about the intel-gfx-bugs mailing list