summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-07-11 18:10:11 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-10-03 13:12:49 +1000
commit0134a97979a0abc1c756b0fe491e074693c2bdf5 (patch)
treec239f75f824f39a1f6f74d0124fd01cac3c7dc2a
parent496734bf0391f38c196e16dbbfaaeda8e6ec5845 (diff)
drm/nv50-/instmem: allocate vram for kernel objects from end of vram
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c b/drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
index d9b346333a44..5965eb7cf390 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
@@ -323,7 +323,7 @@ nv50_instmem_get(struct nouveau_gpuobj *gpuobj, struct nouveau_channel *chan,
size = (size + 4095) & ~4095;
align = max(align, (u32)4096);
- ret = vram->get(dev, size, align, 0, 0, &node->vram);
+ ret = vram->get(dev, size, align, 0, 0x800, &node->vram);
if (ret) {
kfree(node);
return ret;