Skip to content

Commit

Permalink
drm/nv50: remove excessive alignment of graph/crypt contexts
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Dec 3, 2010
1 parent bd2e597 commit 3052be2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nv50_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nv84_crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3052be2

Please sign in to comment.