Three recent blog postings on DRI3000

Keith Packard keithp at keithp.com
Wed Jul 24 18:44:07 PDT 2013


Maarten Lankhorst <maarten.lankhorst at canonical.com> writes:

> drm_calc_vbltimestamp_from_scanoutpos already uses CLOCK_MONOTONIC
> for the timestamps afaict. If you round to the nearest frame I don't see how you could
> possibly get glitches.

Because the display clock and the time clock are not slaved to each
other, so they will drift, possibly by quite a bit given the general
goal of using the cheapest components that meet the timing specs
everywhere. Plus, you'll presumably have NTP running, which will slew
even the monotonic clock rate around.

You'd have to constantly update your notion of the expected time for
each frame or you'd be off from time to time.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130724/a26aec3d/attachment.pgp>


More information about the xorg-devel mailing list