projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d489738
)
drm/nv50/clk: wire up pll_calc hook
author
Marcin Slusarz
<
[email protected]
>
Sun, 7 Oct 2012 22:49:27 +0000
(
00:49
+0200)
committer
Ben Skeggs
<
[email protected]
>
Tue, 9 Oct 2012 03:52:31 +0000
(13:52 +1000)
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 <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
b/drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
index fd181fbceddb9313cc58e1c7b04b77659c41eff8..f4147f67eda687da04a128ec49ea9de2e40a15bd 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/clock/nv50.c
@@
-90,6
+90,7
@@
nv50_clock_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return ret;
priv->base.pll_set = nv50_clock_pll_set;
+ priv->base.pll_calc = nv04_clock_pll_calc;
return 0;
}