drm/nv50/pm: fix thinko which lead to clocks being slightly off sometimes
authorBen Skeggs <bskeggs@redhat.com>
Sun, 30 Oct 2011 13:10:55 +0000 (23:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:27 +0000 (19:01 +1000)
commit463464eb9bf7d0254f3effa8050246fa4e009ace
tree6ea459b2de31ab5262870add04df642b9f5f4de4
parent6805979fa9090b2c69c645cf19bba9a2849f336b
drm/nv50/pm: fix thinko which lead to clocks being slightly off sometimes

read_pll_ref() needs to take into account the refclk src bits in 0xc040 on
some chipsets, it wasn't doing this.

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