drm/i915: Correct the i915_frequency_info debugfs output
authorAkash Goel <akash.goel@intel.com>
Fri, 22 Apr 2016 18:35:46 +0000 (00:05 +0530)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Apr 2016 10:34:22 +0000 (11:34 +0100)
commitd6cda9c7f481b90cc644a764aa378a85cddf91ff
treebcdb6c33c8dfb10e9c4277354af38350bc36967b
parent52530cbadcdf786d7eb58365034b01810f52db1f
drm/i915: Correct the i915_frequency_info debugfs output

There are certain registers, which captures the time elapsed in the
in current Up/Down EI, for how long GT has been Idle/Busy/Avg in the
current Up/Down EI and also in the previous Up/Down EI.
These register values are reported by the i915_frequency_info debugfs
interface. The Driver prints the 'us' suffix after the values, albeit
they are actually in raw form & not in microsecond units.
This patch removes the 'us' suffix so that its clear to User that values
are indeed in raw form.

v2: Present the values in microseconds unit also, after platform
    specific conversion (Chris)
v3: Add a space between raw & microsecond value (Chris)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Akash Goel <akash.goel@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1461350146-23454-3-git-send-email-akash.goel@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_debugfs.c