drm/nv50-/instmem: allocate vram for kernel objects from end of vram

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2012-07-11 18:10:11 +10:00
parent 496734bf03
commit 0134a97979
1 changed files with 1 additions and 1 deletions

View File

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