Commit 59197c02 authored by David Dillow's avatar David Dillow Committed by Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ec64a408
......@@ -186,6 +186,7 @@ nv50_evo_channel_init(struct nouveau_channel *evo)
nv_mask(dev, 0x610028, 0x00000000, 0x00010001 << id);
evo->dma.max = (4096/4) - 2;
evo->dma.max &= ~7;
evo->dma.put = 0;
evo->dma.cur = evo->dma.put;
evo->dma.free = evo->dma.max - evo->dma.cur;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment