]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitc8c972ebd209ee1a0f7715e11bc37cbdb399e05e
tree07b4770e00802941a296d50bc2c38042f03accae
parentf745a80e34e749e8ef0ba7e694008a4d95447c70
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