2011/6/28 Martin Kielhorn <[email protected]>: > 2011/6/28 Martin Kielhorn <[email protected]>: >> Hi list, >> is it possible to synchronise the drawing process to the vsync cycle of the >> graphics >> card from user level? > > I found a 2005 patch from Peter Chubb that would create > /proc/irq/<nnn>/irq that would block until an irq is received. >
Peter Chubb also suggests the UIO framework: [...] There are basically two ways. You can use something like my patch, or you can write a driver that tells userspace when the interrupt happens. There is an in-kernel framework for user-level PCI device drivers: take a look at drivers/uio in the kernel source. There appears to be no documentation. [...] Regards, Martin -- Martin Kielhorn Randall Division of Cell & Molecular Biophysics King's College London, New Hunt's House Guy's Campus, London SE1 1UL, U.K. tel: +44 (0) 207 848 6519, fax: +44 (0) 207 848 6435 _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
