commit | 591b06d73bb8a2da879b1159342b8be192bf1119 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Sun Jul 03 21:16:12 2011 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Sep 20 16:04:36 2011 +1000 |
tree | 0907df5bb26c726266d8313685fe3192ea33673f | |
parent | 16cd399c65bc68332a860b0b572079d0316df3ca [diff] |
drm/nouveau/tmr: calibrate for ns timestamps on init We previously assumed (incorrectly a lot of the time) that PTIMER would be programmed at a frequency which'd give its 64-bit timestamps in nanoseconds. By programming PTIMER ourselves, we avoid this problem. Reviewed-by: Martin Peres <martin.peres@ensi-bourges.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>