should fb drivers wait for vsync after panning?

From: James Hogan <hidden>
Date: 2010-12-03 17:47:05

Hi,

When double buffering by panning the framebuffer, a program might swap
the buffers by using the FBIOPAN_DISPLAY ioctl. However if the update
only occurs on the next vsync, the program has to wait until that
vsync before it is safe to write to the new back buffer, since the
hardware is still displaying it.

So is it the fb driver's responsibility to sleep until the next vsync
before returning from the fb_pan_display callback? If not, is there a
way for userland to do it safely without resorting to triple buffering
or non-standard ioctls?

Thanks
-- 
James Hogan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help