On Mon 04 May 2015, Daniel Stone wrote:
> Hi,
> 
> On 1 May 2015 at 21:02, Chad Versace <chad.vers...@intel.com> wrote:
> > +static bool
> > +brw_fence_has_completed(struct brw_fence *fence)
> > +{
> > +   if (fence->signalled)
> > +      return true;
> > +
> > +   if (fence->batch_bo && !drm_intel_bo_busy(fence->batch_bo)) {
> > +      drm_intel_bo_unreference(fence->batch_bo);
> > +      fence->batch_bo = NULL;
> 
> Should this branch be setting fence->signalled = true as well, to
> match client_wait?

Right. I'll add

    fence->signalled = true;

to that branch before pushing.

> The rest looks good to me, going on what I remember of having looked
> at this about 5 years ago, so:
> Reviewed-by: Daniel Stone <dani...@collabora.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to