drm/nva3/clk: minor improvements to fractional N calculation
authorBen Skeggs <bskeggs@redhat.com>
Thu, 24 Jan 2013 02:15:45 +0000 (12:15 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 1 Jul 2013 03:44:06 +0000 (13:44 +1000)
commitda746d4ec9605302386bab46ea8dfdd66f94560c
tree380aa9f84f949dafe680e6889295c9c67fa4333f
parentdceef5d87cc01358cc1434416f3272e2ddc3d97a
drm/nva3/clk: minor improvements to fractional N calculation

Helps us to get identical numbers to the binary driver for (at least)
Kepler memory PLLs, and fixes a rounding error.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/clock/pllnva3.c