drm/i915: Improve vlv_gpu_freq() and vlv_freq_opcode()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Nov 2013 20:42:28 +0000 (22:42 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Nov 2013 17:05:20 +0000 (18:05 +0100)
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>

No differences found