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 84ca90e91811044c508156b6dbc9c3baadb5b2f4..a764af52a3ba34378e63e1156f07345845c39de3 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 63bd6bb41e388c3d613aa6c8d9bb1bcffd763a01..f988b1a9d1d753cc164bbde940172cc306a16d63 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)