drm/nouveau/tmr: fix miscalculation of ratio on pre-nv4x chipsets
authorBen Skeggs <bskeggs@redhat.com>
Thu, 21 Jul 2011 06:12:58 +0000 (16:12 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 Sep 2011 06:08:54 +0000 (16:08 +1000)
commitafb0c796d8002a0052662ff337dbd18b5dc5ff97
tree0db6a5f9a315b3934ee94025bffde939f6d6eb61
parent378f85ed54a424bc7e1edb9c3c7cd3a7efef9f9c
drm/nouveau/tmr: fix miscalculation of ratio on pre-nv4x chipsets

The clock_get() hook returns KHz, not Hz.

Also fixed to use crystal freq from dev_priv.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_timer.c