should fb drivers wait for vsync after panning?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux