From: Ville Syrjälä Date: Tue, 5 Nov 2013 20:42:28 +0000 (+0200) Subject: drm/i915: Improve vlv_gpu_freq() and vlv_freq_opcode() X-Git-Tag: v3.14-rc1~47^2~90^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ab118b393410c65146f44c17b0ae5373eb972e;p=pandora-kernel.git 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ä Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed