projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e2000
)
drm/nv50: fix evo instmem alignment
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 20 Oct 2010 05:35:28 +0000
(15:35 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 3 Dec 2010 05:10:59 +0000
(15:10 +1000)
Not an issue right now, we're forced to 64k size/alignment by the BO
allocator anyway. This won't be the case soon.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_evo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_evo.c
b/drivers/gpu/drm/nouveau/nv50_evo.c
index d270f17a53106a5c637337cc65abec3586dfac90..887b2a97e2a208df8ff5a29183fb6cba16a06219 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_evo.c
+++ b/
drivers/gpu/drm/nouveau/nv50_evo.c
@@
-234,7
+234,7
@@
nv50_evo_create(struct drm_device *dev)
* use this also as there's no per-channel support on the
* hardware
*/
- ret = nouveau_gpuobj_new(dev, NULL, 32768,
0x1000
,
+ ret = nouveau_gpuobj_new(dev, NULL, 32768,
65536
,
NVOBJ_FLAG_ZERO_ALLOC, &evo->ramin);
if (ret) {
NV_ERROR(dev, "Error allocating EVO channel memory: %d\n", ret);