On Thu, 14 May 2009 23:04:51 -0400 Kristian Høgsberg <[email protected]> wrote:
> From: Kristian Høgsberg <[email protected]> > > This patch adds a vblank synced pageflip ioctl for to the modesetting > family of ioctls. The ioctl takes a crtc and an fb and schedules a > pageflip to the new fb at the next coming vertical blank event. This > feature lets userspace implement tear-free updating of the screen > contents with hw-guaranteed low latency page flipping. > > The ioctl is asynchronous in that it returns immediately and then > later notifies the client by making an event available for reading on > the drm fd. This lets applications add the drm fd to their main loop > and handle other tasks while waiting for the flip to happen. The > event includes the time of the flip, the frame counter and a 64 bit > opaque token provided by user space in the ioctl. > > Based on initial work and suggestions from > Jesse Barnes <[email protected]> and > Jakob Bornecrantz <[email protected]>. > > Signed-off-by: Kristian Høgsberg <[email protected]> > --- Hey, you didn't even compile this! :) I'm trying this version out now. I'll see if I can add the async set_pipe_base, then start hacking on updates to the dri2-swapbuffers branches to get it working with userspace. Thanks, -- Jesse Barnes, Intel Open Source Technology Center ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
