Felix Kühling wrote:
> Keith,
> 
> you got the condition for waiting for an interrupt wrong.
> 
> r200_ioctl.c, line 330
>       ...
>       /* if there was a previous frame, wait for its IRQ */
> -     if (iw->irq_seq != -1 && sarea->last_frame < r200GetLastFrame( rmesa ) ) {
> +     if (iw->irq_seq != -1 && r200GetLastFrame( rmesa ) < sarea->last_frame ) {
>          UNLOCK_HARDWARE( rmesa ); 
>          ret = drmCommandWrite( fd, DRM_RADEON_IRQ_WAIT, iw, sizeof(*iw) );
>        ...

OK, fixed.

Keith



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to