drm/nv50/clk: wire up pll_calc hook
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 7 Oct 2012 22:49:27 +0000 (00:49 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Oct 2012 03:52:31 +0000 (13:52 +1000)
commitb47f1421ad2946b71b32e613d161a8ee43d2d019
treedd766d71a3c33f895266f4e61b5daf503704c6a5
parentd489738951200a12171a63c29e8cd4876031a03b
drm/nv50/clk: wire up pll_calc hook

Fixes crash during reclocking.
Call Trace:
 pll_calc == NULL
 calc_pll
 calc_mclk
 nv50_pm_clocks_pre
 nouveau_pm_perflvl_set
 nouveau_pm_trigger
 nouveau_pm_profile_set
 nouveau_pm_set_perflvl
 dev_attr_store
 sysfs_write_file
 vfs_write
 sys_write
 system_call_fastpath

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c