https://bugs.freedesktop.org/show_bug.cgi?id=38800

--- Comment #32 from Jerome Glisse <gli...@freedesktop.org> 2011-07-07 07:11:43 
PDT ---
Well i can think of similar bad case in the other way.

-wait for vblank
-wait for bo put us in next vblank
-program reg flip happen on this frame
-irq reporting report on next vblank

So we are off by one frame on the timestamp.

To me it seems more logic to first make sure that the potentialy longer wait
(bo_wait is unbound while vblank wait is bound for any human video mode) is
done first and then do the smaller one. Yes can we miss the next vblank but so
could we with bo wait after and with bo wait after we might do bad reporting on
the timestamp.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to