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)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:25 +0000 (07:45 +0200)
commit662c6ecbcdca1fe8a5402f6c83d98d242917a043
tree2952928eeda7ddc199351ca596bf3b247dfc2ca5
parentacbec814a27f233b5ddb88a1bcaa2ac20daf64e0
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