drm/nouveau/tmr: calibrate for ns timestamps on init
authorBen Skeggs <bskeggs@redhat.com>
Sun, 3 Jul 2011 11:16:12 +0000 (21:16 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 Sep 2011 06:04:36 +0000 (16:04 +1000)
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>

No differences found