projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18d89c
)
drm/nouveau: fix allocation of notifier object
author
Marcin Slusarz
<
[email protected]
>
Tue, 19 Apr 2011 21:52:42 +0000
(23:52 +0200)
committer
Ben Skeggs
<
[email protected]
>
Tue, 19 Apr 2011 22:51:34 +0000
(08:51 +1000)
Commit
73412c3854c877e5f37ad944ee8977addde4d35a
("drm/nouveau: allocate
kernel's notifier object at end of block") intended to align end of
notifier block to page boundary, but start of block was miscalculated
to be off by -16 bytes. Fix it.
Signed-off-by: Marcin Slusarz <
[email protected]
>
Cc: Ben Skeggs <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
drivers/gpu/drm/nouveau/nouveau_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_dma.c
b/drivers/gpu/drm/nouveau/nouveau_dma.c
index ce38e97b9428eaaaf81e248572555a80736c9242..568caedd7216e141a148753ea1dd55d8657ff261 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_dma.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_dma.c
@@
-83,7
+83,7
@@
nouveau_dma_init(struct nouveau_channel *chan)
return ret;
/* NV_MEMORY_TO_MEMORY_FORMAT requires a notifier object */
- ret = nouveau_notifier_alloc(chan, NvNotify0, 32, 0xf
d
0, 0x1000,
+ ret = nouveau_notifier_alloc(chan, NvNotify0, 32, 0xf
e
0, 0x1000,
&chan->m2mf_ntfy);
if (ret)
return ret;