]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d6ef861174761505f9b71bbaee4332ea35dbc7f
tree2952928eeda7ddc199351ca596bf3b247dfc2ca5
parent815d84a31b3b0ef23b8455a19ee1f6e3988ae942
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