diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-07-11 08:10:11 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-10-03 03:12:49 (GMT) |
commit | 0134a97979a0abc1c756b0fe491e074693c2bdf5 (patch) | |
tree | c239f75f824f39a1f6f74d0124fd01cac3c7dc2a /drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c | |
parent | 496734bf0391f38c196e16dbbfaaeda8e6ec5845 (diff) | |
download | linux-fsl-qoriq-0134a97979a0abc1c756b0fe491e074693c2bdf5.tar.xz |
drm/nv50-/instmem: allocate vram for kernel objects from end of vram
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c | 2 |
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 d9b3463..5965eb7 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; |