2011/6/28 Mark Marshall <[email protected]>: > On 28/06/2011 11:35, Martin Kielhorn wrote: >> >> Hi list, >> is it possible to synchronise the drawing process to the vsync cycle of >> the graphics >> card from user level? >> >> Or should I try to modify driver/linux/ogp_skel.c to my needs? > > ogp_skel doesn't really do anything. It is just a skeleton of a driver. > > I have never tested any of the vblank interrupt generation support. I think > the hardware is wired up, but you'd really have to read the RTL to see.
I tried to. But I have no experience with verilog. I thought setting these registers should enable the interrupt generation: (card-rset *card* +vc0-cpu-reset-b+ 1) (card-rset *card* +vc0-video-enable+ 1) (card-rset *card* +vc0-interrupt-enable+ 1) But I don't see anything in my dmesg output. Do I also have to set the XP10 interrupt mask? The entire listing of my test code can be found on http://paste.lisp.org/+2MWD 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)
