]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add gt_act_freq_mhz sysfs file
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 23 Jan 2015 19:04:24 +0000 (21:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:16 +0000 (09:51 +0100)
commit8ca75208d14f5b87a233e1ab1b52f346921c000c
tree07b4770e00802941a296d50bc2c38042f03accae
parent314d04324e3f9fe22d0a3ee41d3dd95a0a5dde92
drm/i915: Add gt_act_freq_mhz sysfs file

Currently the 'gt_cur_freq_mhz' file shows the actual GPU frequency on
VLV/CHV, and the last requested frequency on other platforms. Change the
meaning of the file on VLV/CHV to follow the the other platforms, and
introduce a new file 'gt_act_freq_mhz' which shows the actual frequency
on all platforms.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_sysfs.c