mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drm/nv50-nvc0: work around an evo channel hang that some people see
Signed-off-by: Ben Skeggs <[email protected]>
This commit is contained in:
parent
ec64a40868
commit
59197c0262
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue