FYI, I noticed this recent patch from Arjan van de Ven from lkml. It's got page flipping and user-defined interrupts for i830 (for 2.4):
http://marc.theaimsgroup.com/?l=linux-kernel&m=103969295019388&w=2 Out of curiosity, I just downloaded the i810/i815 specs. At first glance I don't see why you couldn't use bit 7 of the interrupt registers on i810/i815 for VBLANK interrupts, rather than emitting a wait for vblank to the ring, but maybe I'm missing something. On Fri, 13 Dec 2002, Ian Romanick wrote: > On Fri, Dec 13, 2002 at 01:15:01PM -0800, Sottek, Matthew J wrote: > > > The i810's vblank interrupt does not go to the CPU's interrupt > > controller IIRC. Therefore you have to poll for vblank by reading > > the current scanline. > > That's quite surprising to me. > > > Usually apps that are waiting on vblank can be better served by > > solving the actual problem rather than trying to use a generic wait > > For vblank solution. > > > > i.e. If you want to blit to the FB and don't want to see tearing, > > the i810 can pause the DMA stream until a vblank. So issue the wait > > for vblank before your blit and there is no need for your app to > > worry about it. > > Or, if you want the overlay to flip synchronous with vblank... The > > Hardware already does that for you. > > So, how do you delay the flip-blit to the vblank but NOT delay other > rendering? I think that would also make it difficult to implement things > like {GLX,WGL}_SGI_swap_control or {GLX,WGL}_OML_sync_control. > > -- Leif Delgass http://www.retinalburn.net ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel