Commit 0134a979 authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 496734bf
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment