projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b6624
)
drm/nv50: fix ramin heap size for kernel channel too
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Sun, 15 Apr 2012 12:36:07 +0000
(14:36 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 24 May 2012 06:31:52 +0000
(16:31 +1000)
Port change from "drm/nouveau: Keep RAMIN heap within the channel"
to kernel channel, which has its own ramin heap initialisation.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Younes Manton <younes.m@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_instmem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_instmem.c
b/drivers/gpu/drm/nouveau/nv50_instmem.c
index
a7c12c9
..
0bba54f
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_instmem.c
+++ b/
drivers/gpu/drm/nouveau/nv50_instmem.c
@@
-83,7
+83,7
@@
nv50_channel_new(struct drm_device *dev, u32 size, struct nouveau_vm *vm,
return ret;
}
- ret = drm_mm_init(&chan->ramin_heap, 0x6000, chan->ramin->size);
+ ret = drm_mm_init(&chan->ramin_heap, 0x6000, chan->ramin->size
- 0x6000
);
if (ret) {
nv50_channel_del(&chan);
return ret;