projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd2e4ba
)
nouveau: add BEGIN_RING_NI
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Wed, 30 Dec 2009 20:32:40 +0000
(21:32 +0100)
committer
Maarten Maathuis
<madman2003@gmail.com>
Wed, 30 Dec 2009 21:11:55 +0000
(22:11 +0100)
nouveau/nouveau_pushbuf.h
patch
|
blob
|
history
diff --git
a/nouveau/nouveau_pushbuf.h
b/nouveau/nouveau_pushbuf.h
index
c7ac8c4
..
46982af
100644
(file)
--- a/
nouveau/nouveau_pushbuf.h
+++ b/
nouveau/nouveau_pushbuf.h
@@
-111,6
+111,14
@@
BEGIN_RING(struct nouveau_channel *chan, struct nouveau_grobj *gr,
chan->pushbuf->remaining -= (size + 1);
}
+/* non-incrementing BEGIN_RING */
+static __inline__ void
+BEGIN_RING_NI(struct nouveau_channel *chan, struct nouveau_grobj *gr,
+ unsigned mthd, unsigned size)
+{
+ BEGIN_RING(chan, gr, mthd | 0x40000000, size);
+}
+
static __inline__ void
FIRE_RING(struct nouveau_channel *chan)
{