]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Return residency as microseconds
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 15 Mar 2017 15:43:00 +0000 (17:43 +0200)
committerMika Kuoppala <mika.kuoppala@intel.com>
Thu, 16 Mar 2017 10:28:28 +0000 (12:28 +0200)
commitc5a0ad114b6a9f4ad03f30bd7c61994bc6e8ab52
treee30d1155564a7a9ae2f827a4473cfdb9ee366220
parent135bafa551de3e7a8fff29e80a714b44d7dfd778
drm/i915: Return residency as microseconds

Change the granularity from milliseconds to microseconds
when returning rc6 residencies. This is in preparation
for increased resolution on some platforms.

v2: use 64bit div macro (Chris)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_sysfs.c
drivers/gpu/drm/i915/intel_pm.c