drm/i915/vlv: fix up broken precision in vlv_crtc_clock_get
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Sep 2013 21:24:01 +0000 (14:24 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 10 Dec 2013 12:35:52 +0000 (14:35 +0200)
commit5827817a37f6c5adf4f504cb616707af981d4ae1
tree035f53b90dba51439302253a06ec7a2d0997d737
parenta6b3cfb6b6ba4a2013d2e20f9717620b087e910e
drm/i915/vlv: fix up broken precision in vlv_crtc_clock_get

With some divider values we end up with the wrong result.  So remove the
intermediates (like Ville suggested in the first place) to get the right
answer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c