commit | 07ab118b393410c65146f44c17b0ae5373eb972e | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Nov 05 22:42:28 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Nov 06 18:05:20 2013 +0100 |
tree | 0ad0fd4e2a99f2151cc9de35f8beec9c2f70deb0 | |
parent | c164f833cc842b427f817c3a6f30d806b1d57ef1 [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>