summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_sysfs.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-11-05 22:42:28 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-06 18:05:20 +0100
commit07ab118b393410c65146f44c17b0ae5373eb972e (patch)
tree0ad0fd4e2a99f2151cc9de35f8beec9c2f70deb0 /drivers/gpu/drm/i915/i915_sysfs.c
parentc164f833cc842b427f817c3a6f30d806b1d57ef1 (diff)
drm/i915: Improve vlv_gpu_freq() and vlv_freq_opcode()
We're currently miscalculating the VLV graphics clock a little bit. This is caused by rounding the step to integer MHz, which does not match reality. Change the formula to match the GUnit HAS to give more accurate answers. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_sysfs.c')
0 files changed, 0 insertions, 0 deletions