On Sat, Sep 23, 2006 at 04:12:54PM -0700, jfj wrote:
> Ville Syrjälä wrote:
> 
> >? Some fb drivers support the FBIO_WAITFORVSYNC ioctl (matroxfb and 
> >atyfb at least).
> >
> >  
> >
> 
> I searched a bit. In linux-fbdev there seem to be patches that implement 
> this for
> radeonfb (2005-12) and intelfb (2006-06).  Do you know if  these have 
> been applied to 2.6.18?

I don't think so. At least 2.6.18-rc5 doesn't have them.

> It seems that a lot of people are interested in this and perhaps 
> FBIO_WAITFORVSYNC
> could be moved to fb.h
> 
> BTW, DirectFB could do
> 
> #ifdef FBIO_WAITFORVSYNC
>     ioctl(..);
> #else
>     while (inb() && --watchdog);
> #endif

That would make vsync waiting a no-op on most systems.

We should actually remove all FBIO_WAITFORVSYNC ifdefs because we now 
have a private copy of fb.h.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to