[Dri-users] OMAP libDRM page_flip_handler vs vblank_handler

Andre Renaud andre at bluewatersys.com
Thu Aug 16 22:11:50 PDT 2012


Hi,
On the Pandaboard ES/OMAP4460 with libDRM, I'm getting flicker when
flipping ARGB frames when there is a YUV frame visible at the same
time. I'm doing the page flipping from within the drmHandleEvent
page_flip_handler callback. However from my reading, this is the
callback that is made AFTER a page has been flipped, where as I should
probably be doing it in the vblank_handler, which (I believe) is
called when vblank is begun. However the vblank_handler event never
happens on the OMAP.
Does anyone know if this is the correct way of doing things? The
sample software (omapdrmtest, and the tests in libdrm) don't mix YUV
and RGB frames, so I can't see if they exhibit the same problem.

Regards,
Andre

-- 
Bluewater Systems - An Aiotec Company

Andre Renaud
andre at bluewatersys.com          5 Amuri Park, 404 Barbadoes St
www.bluewatersys.com            PO Box 13 889, Christchurch 8013
www.aiotec.co.nz                New Zealand
Phone: +64 3 3779127            Freecall: Australia 1800 148 751
Fax:   +64 3 3779135            USA 1800 261 2934


More information about the dri-users mailing list