aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-10-20 01:35:28 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 00:10:59 -0500
commit8888cb18ffd1f32c51e61ca8d3d179c3c3946d1e (patch)
tree0525eb1493ebc4a21fea5c8dfebf2d0f687e6934
parent97e2000f757c19bb53e032320669f9a0d0b2a989 (diff)
drm/nv50: fix evo instmem alignment
Not an issue right now, we're forced to 64k size/alignment by the BO allocator anyway. This won't be the case soon. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nv50_evo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_evo.c b/drivers/gpu/drm/nouveau/nv50_evo.c
index d270f17a5310..887b2a97e2a2 100644
--- a/drivers/gpu/drm/nouveau/nv50_evo.c
+++ b/drivers/gpu/drm/nouveau/nv50_evo.c
@@ -234,7 +234,7 @@ nv50_evo_create(struct drm_device *dev)
234 * use this also as there's no per-channel support on the 234 * use this also as there's no per-channel support on the
235 * hardware 235 * hardware
236 */ 236 */
237 ret = nouveau_gpuobj_new(dev, NULL, 32768, 0x1000, 237 ret = nouveau_gpuobj_new(dev, NULL, 32768, 65536,
238 NVOBJ_FLAG_ZERO_ALLOC, &evo->ramin); 238 NVOBJ_FLAG_ZERO_ALLOC, &evo->ramin);
239 if (ret) { 239 if (ret) {
240 NV_ERROR(dev, "Error allocating EVO channel memory: %d\n", ret); 240 NV_ERROR(dev, "Error allocating EVO channel memory: %d\n", ret);