projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496734b
)
drm/nv50-/instmem: allocate vram for kernel objects from end of vram
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 11 Jul 2012 08:10:11 +0000
(18:10 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 3 Oct 2012 03:12:49 +0000
(13:12 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
b/drivers/gpu/drm/nouveau/core/subdev/instmem/nv50.c
index d9b346333a443f1651bc7e37d42ce8af6cd476fe..5965eb7cf3905a59fca18fb3488a1eef8944f68f 100644
(file)
--- 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, 0
x800
, &node->vram);
if (ret) {
kfree(node);
return ret;