projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec64a40
)
drm/nv50-nvc0: work around an evo channel hang that some people see
author
David Dillow
<dave@thedillows.org>
Mon, 21 Mar 2011 11:41:47 +0000
(21:41 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 5 Apr 2011 01:07:16 +0000
(11:07 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_evo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_evo.c
b/drivers/gpu/drm/nouveau/nv50_evo.c
index a2cfaa691e9bb3968d7e12f41cc5c5e226a4008a..c8e83c1a4de8f1381236ba750f670639b4ab155e 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_evo.c
+++ b/
drivers/gpu/drm/nouveau/nv50_evo.c
@@
-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;