drm/nv50: remove excessive alignment of graph/crypt contexts
authorBen Skeggs <bskeggs@redhat.com>
Wed, 20 Oct 2010 01:46:38 +0000 (11:46 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:07:00 +0000 (15:07 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_graph.c
drivers/gpu/drm/nouveau/nv84_crypt.c

index 84ca90e..a764af5 100644 (file)
@@ -216,7 +216,7 @@ nv50_graph_create_context(struct nouveau_channel *chan)
 
        NV_DEBUG(dev, "ch%d\n", chan->id);
 
-       ret = nouveau_gpuobj_new(dev, chan, pgraph->grctx_size, 0x1000,
+       ret = nouveau_gpuobj_new(dev, chan, pgraph->grctx_size, 0,
                                 NVOBJ_FLAG_ZERO_ALLOC |
                                 NVOBJ_FLAG_ZERO_FREE, &chan->ramin_grctx);
        if (ret)
index 63bd6bb..f988b1a 100644 (file)
@@ -35,7 +35,7 @@ nv84_crypt_create_context(struct nouveau_channel *chan)
 
        NV_DEBUG(dev, "ch%d\n", chan->id);
 
-       ret = nouveau_gpuobj_new(dev, chan, 256, 0x1000,
+       ret = nouveau_gpuobj_new(dev, chan, 256, 0,
                                 NVOBJ_FLAG_ZERO_ALLOC | NVOBJ_FLAG_ZERO_FREE,
                                 &chan->crypt_ctx);
        if (ret)