Răsfoiți Sursa

drm/nv50: remove excessive alignment of graph/crypt contexts

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Ben Skeggs 14 ani în urmă
părinte
comite
3052be2cea

+ 1 - 1
drivers/gpu/drm/nouveau/nv50_graph.c

@@ -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)

+ 1 - 1
drivers/gpu/drm/nouveau/nv84_crypt.c

@@ -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)