Skip to content

Commit

Permalink
drm/nv50-/instmem: allocate vram for kernel objects from end of vram
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Oct 3, 2012
1 parent 496734b commit 0134a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0134a97

Please sign in to comment.