diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-08-06 03:40:43 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-08-06 03:40:43 +1000 |
commit | beaa0c9a28b30a6ba3292184d04875b6a597e433 (patch) | |
tree | 95bf8cb4538ebab2663849b42101c143708c7e12 /linux-core | |
parent | 2453ba19b6f9956ea5d412a66d5d33c8a8b301b2 (diff) |
nouveau: Pass channel struct around instead of channel id.
Diffstat (limited to 'linux-core')
-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 0ddac952..6393a469 100644 --- a/linux-core/nouveau_sgdma.c +++ b/linux-core/nouveau_sgdma.c @@ -211,7 +211,7 @@ nouveau_sgdma_init(struct drm_device *dev) obj_size = (aper_size >> NV_CTXDMA_PAGE_SHIFT) * 8; } - if ((ret = nouveau_gpuobj_new(dev, -1, obj_size, 16, + if ((ret = nouveau_gpuobj_new(dev, NULL, obj_size, 16, NVOBJ_FLAG_ALLOW_NO_REFS | NVOBJ_FLAG_ZERO_ALLOC | NVOBJ_FLAG_ZERO_FREE, &gpuobj))) { |