diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-03-11 21:54:29 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-03-11 21:54:29 +1100 |
commit | 2e28413d6f14130f89149d17ec6f451635b49ad3 (patch) | |
tree | b3c27548105e041cfb3d11d3107d99f94cd5e81e /sys | |
parent | e5f28a249119d48c4a44e4b727f41c742874dfa5 (diff) |
getrawmonotonic -> nanotime
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/intel_pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/intel_pm.c b/sys/dev/pci/drm/intel_pm.c index 07d93759bbd..49041dabcf3 100644 --- a/sys/dev/pci/drm/intel_pm.c +++ b/sys/dev/pci/drm/intel_pm.c @@ -2557,7 +2557,7 @@ ironlake_enable_drps(struct drm_device *dev) I915_READ(0x112e0); // dev_priv->ips.last_time1 = jiffies_to_msecs(jiffies); dev_priv->ips.last_count2 = I915_READ(0x112f4); -// getrawmonotonic(&dev_priv->ips.last_time2); + nanotime(&dev_priv->ips.last_time2); // spin_unlock_irq(&mchdev_lock); } @@ -3295,7 +3295,7 @@ __i915_update_gfx_val(struct inteldrm_softc *dev_priv) // assert_spin_locked(&mchdev_lock); - getrawmonotonic(&now); + nanotime(&now); diff1 = timespec_sub(now, dev_priv->ips.last_time2); /* Don't divide by 0 */ |