RFC: Change OML_sync_control UST to CLOCK_MONOTONIC

Jerome Glisse j.glisse at gmail.com
Wed Jun 13 13:18:52 PDT 2012


On Wed, Jun 13, 2012 at 4:11 PM, Joakim Plate <elupus at ecce.se> wrote:
> Michel Dänzer <michel <at> daenzer.net> writes:
>
>> > >
>> > >  From the GLX_OML_sync_control spec:
>> > >
>> > >          The Unadjusted System Time (or UST) is a 64-bit monotonically
>> > >          increasing counter [...]
>> > >
>
> From what I can tell, it should be using: ktime_to_ns(ktime_get()) / 1000. Only
> issue is that changing it will break any app relying on it being REALTIME clock.
>

App that rely on it being anything special are badly broken and i
don't think there is any such app. The specification strongly stress
that app should make no assumption about it.

Cheers,
Jerome


More information about the dri-devel mailing list