diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 21:05:06 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 15:01:50 -0700 |
commit | 5ed0bdf21a85d78e04f89f15ccf227562177cbd9 (patch) | |
tree | 44c8a001f5b0efc7bc86cb53b1dd3fe5684c8207 /drivers/gpu/drm/i915/i915_drv.h | |
parent | f519b1a2e08c913375324a927992bb328387f169 (diff) | |
download | lwn-5ed0bdf21a85d78e04f89f15ccf227562177cbd9.tar.gz lwn-5ed0bdf21a85d78e04f89f15ccf227562177cbd9.zip |
drm: i915: Use nsec based interfaces
Use ktime_get_raw_ns() and get rid of the back and forth timespec
conversions.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 374f964323ad..1f7700897dfc 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -931,7 +931,7 @@ struct intel_ilk_power_mgmt { unsigned long last_time1; unsigned long chipset_power; u64 last_count2; - struct timespec last_time2; + u64 last_time2; unsigned long gfx_power; u8 corr; |