提交 59197c02 编写于 作者: D David Dillow 提交者: Ben Skeggs

drm/nv50-nvc0: work around an evo channel hang that some people see

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 ec64a408
...@@ -186,6 +186,7 @@ nv50_evo_channel_init(struct nouveau_channel *evo) ...@@ -186,6 +186,7 @@ nv50_evo_channel_init(struct nouveau_channel *evo)
nv_mask(dev, 0x610028, 0x00000000, 0x00010001 << id); nv_mask(dev, 0x610028, 0x00000000, 0x00010001 << id);
evo->dma.max = (4096/4) - 2; evo->dma.max = (4096/4) - 2;
evo->dma.max &= ~7;
evo->dma.put = 0; evo->dma.put = 0;
evo->dma.cur = evo->dma.put; evo->dma.cur = evo->dma.put;
evo->dma.free = evo->dma.max - evo->dma.cur; evo->dma.free = evo->dma.max - evo->dma.cur;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册