On Fri, 27 Apr 2012 15:14:10 +0100
Chris Wilson <[email protected]> wrote:

> On Thu, 26 Apr 2012 16:03:06 -0700, Ben Widawsky <[email protected]>
> wrote:
> >  static int __wait_seqno(struct intel_ring_buffer *ring, u32 seqno,
> > -                   bool interruptible)
> > +                   bool interruptible, long *usecs)
> >  {
> >     drm_i915_private_t *dev_priv = ring->dev->dev_private;
> > -   int ret = 0;
> > +   bool wait_forever = false;
> > +   long timeout, end;
> > +
> > +   if (usecs == NULL || ((*usecs) < 0)) {
> > +           wait_forever = true;
> > +           timeout = msecs_to_jiffies(100);
> > +   } else
> > +           timeout = usecs_to_jiffies(*usecs);
> > +
> > +   if (i915_seqno_passed(ring->get_seqno(ring), seqno))
> > +           return 0;
> > +
> > +   if (WARN_ON(!ring->irq_get(ring)))
> > +           return -ENODEV;
> 
> Rebase error, duplicated ring->irq_get/ring->get_seqno.
> -Chris
> 

Got it, thanks.
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to