diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-08-06 22:05:31 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-08-06 22:05:31 +1000 |
commit | cf04641bc61c8bc18101713a8d95ef98e6afae7f (patch) | |
tree | bd05e99d8404347729654c9bfe2d815eceaf9a3d /linux-core/nouveau_sgdma.c | |
parent | 51f24be578025e3f1eae859288adf5232afc898d (diff) |
nouveau: Give DRM its own gpu channel
If your card doesn't have working context switching, it is now broken.
Diffstat (limited to 'linux-core/nouveau_sgdma.c')
-rw-r--r-- | linux-core/nouveau_sgdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/nouveau_sgdma.c b/linux-core/nouveau_sgdma.c index 6393a469..df970d11 100644 --- a/linux-core/nouveau_sgdma.c +++ b/linux-core/nouveau_sgdma.c @@ -69,7 +69,7 @@ nouveau_sgdma_clear(struct drm_ttm_backend *be) if (nvbe->is_bound) be->func->unbind(be); - for (d = 0; d < nvbe->pages_populated; d--) { + for (d = 0; d < nvbe->pages_populated; d++) { pci_unmap_page(nvbe->dev->pdev, nvbe->pagelist[d], NV_CTXDMA_PAGE_SIZE, PCI_DMA_BIDIRECTIONAL); |