forked from Minki/linux
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:
parent
496734bf03
commit
0134a97979
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user