Message ID | 1312573288-7918-3-git-send-email-seth.forshee@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 1a4408b..4932585 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -330,6 +330,7 @@ nv50_display_init(struct drm_device *dev) nv_wr32(dev, 0x610300, nv_rd32(dev, 0x610300) & ~1); 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;