From: Ben Skeggs Date: Wed, 27 Apr 2011 16:34:21 +0000 (+1000) Subject: drm/nva3/clk: better pll calculation when no fractional fb div available X-Git-Tag: v3.0-rc3~42^2~48^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52eba8dd5e830a836425e92d002bc51e42d3280e;p=pandora-kernel.git drm/nva3/clk: better pll calculation when no fractional fb div available The core/mem/shader clocks don't support the fractional feedback divider, causing our calculated clocks to be off by quite a lot in some cases. To solve this we will switch to a search-based algorithm when fN is NULL. For my NVA8 at PL3, this actually generates identical cooefficients to the binary driver. Hopefully that's a good sign, and that does not break VPLL calculation for someone.. Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed