[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fbdev
Subject:    should fb drivers wait for vsync after panning?
From:       James Hogan <james () albanarts ! com>
Date:       2010-12-03 17:47:05
Message-ID: AANLkTik-J+3Q-J7mMZ-xUF5bM5jt3dVW5Xadw9ZimDBr () mail ! gmail ! com
[Download RAW message or body]

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic