diff options
Diffstat (limited to 'nouveau')
-rw-r--r-- | nouveau/nouveau_pushbuf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nouveau/nouveau_pushbuf.h b/nouveau/nouveau_pushbuf.h index c7ac8c45..46982afa 100644 --- a/nouveau/nouveau_pushbuf.h +++ b/nouveau/nouveau_pushbuf.h | |||
@@ -111,6 +111,14 @@ BEGIN_RING(struct nouveau_channel *chan, struct nouveau_grobj *gr, | |||
111 | chan->pushbuf->remaining -= (size + 1); | 111 | chan->pushbuf->remaining -= (size + 1); |
112 | } | 112 | } |
113 | 113 | ||
114 | /* non-incrementing BEGIN_RING */ | ||
115 | static __inline__ void | ||
116 | BEGIN_RING_NI(struct nouveau_channel *chan, struct nouveau_grobj *gr, | ||
117 | unsigned mthd, unsigned size) | ||
118 | { | ||
119 | BEGIN_RING(chan, gr, mthd | 0x40000000, size); | ||
120 | } | ||
121 | |||
114 | static __inline__ void | 122 | static __inline__ void |
115 | FIRE_RING(struct nouveau_channel *chan) | 123 | FIRE_RING(struct nouveau_channel *chan) |
116 | { | 124 | { |