提交 c57ebf5e 编写于 作者: M Martin Peres 提交者: Ben Skeggs

drm/nv50/pm: wait for all fifo-connected engines to idle before reclocking

Signed-off-by: NMartin Peres <martin.peres@labri.fr>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 496a73bb
......@@ -798,6 +798,8 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data)
nv_mask(dev, 0x002504, 0x00000001, 0x00000001);
if (!nv_wait(dev, 0x002504, 0x00000010, 0x00000010))
goto resume;
if (!nv_wait(dev, 0x00251c, 0x0000003f, 0x0000003f))
goto resume;
/* program memory clock, if necessary - must come before engine clock
* reprogramming due to how we construct the hwsq scripts in pre()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册