提交 a2410f5a 编写于 作者: B Ben Skeggs

drm/nouveau/pwr: wait for scrubbers to finish before uploading new ucode

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 4417be55
......@@ -203,9 +203,8 @@ _nouveau_pwr_init(struct nouveau_object *object)
nv_wait(ppwr, 0x10a04c, 0xffffffff, 0x00000000);
nv_mask(ppwr, 0x000200, 0x00002000, 0x00000000);
nv_mask(ppwr, 0x000200, 0x00002000, 0x00002000);
/* At least one GM107 needs this delay after reset */
udelay(20);
nv_rd32(ppwr, 0x000200);
nv_wait(ppwr, 0x10a10c, 0x00000006, 0x00000000);
/* upload data segment */
nv_wr32(ppwr, 0x10a1c0, 0x01000000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册