37 ret = RING_SPACE(chan, rect->
rop ==
ROP_COPY ? 7 : 11);
42 BEGIN_NVC0(chan,
NvSub2D, 0x02ac, 1);
45 BEGIN_NVC0(chan,
NvSub2D, 0x0588, 1);
51 BEGIN_NVC0(chan,
NvSub2D, 0x0600, 4);
57 BEGIN_NVC0(chan,
NvSub2D, 0x02ac, 1);
72 ret = RING_SPACE(chan, 12);
76 BEGIN_NVC0(chan,
NvSub2D, 0x0110, 1);
78 BEGIN_NVC0(chan,
NvSub2D, 0x08b0, 4);
83 BEGIN_NVC0(chan,
NvSub2D, 0x08d0, 4);
103 if (image->
depth != 1)
106 ret = RING_SPACE(chan, 11);
111 dwords = (width * image->
height) >> 5;
113 BEGIN_NVC0(chan,
NvSub2D, 0x0814, 2);
122 BEGIN_NVC0(chan,
NvSub2D, 0x0838, 2);
125 BEGIN_NVC0(chan,
NvSub2D, 0x0850, 4);
132 int push = dwords > 2047 ? 2047 : dwords;
134 ret = RING_SPACE(chan, push + 1);
140 BEGIN_NIC0(chan,
NvSub2D, 0x0860, push);
161 0x902d,
NULL, 0, &
object);
165 switch (info->
var.bits_per_pixel) {
176 switch (info->
var.transp.length) {
192 ret = RING_SPACE(chan, 60);
199 BEGIN_NVC0(chan,
NvSub2D, 0x0000, 1);
201 BEGIN_NVC0(chan,
NvSub2D, 0x0290, 1);
203 BEGIN_NVC0(chan,
NvSub2D, 0x0888, 1);
205 BEGIN_NVC0(chan,
NvSub2D, 0x02ac, 1);
207 BEGIN_NVC0(chan,
NvSub2D, 0x02a0, 1);
209 BEGIN_NVC0(chan,
NvSub2D, 0x08c0, 4);
214 BEGIN_NVC0(chan,
NvSub2D, 0x0580, 2);
217 BEGIN_NVC0(chan,
NvSub2D, 0x02e8, 2);
221 BEGIN_NVC0(chan,
NvSub2D, 0x0804, 1);
223 BEGIN_NVC0(chan,
NvSub2D, 0x0800, 1);
225 BEGIN_NVC0(chan,
NvSub2D, 0x0808, 3);
229 BEGIN_NVC0(chan,
NvSub2D, 0x081c, 1);
231 BEGIN_NVC0(chan,
NvSub2D, 0x0840, 4);
236 BEGIN_NVC0(chan,
NvSub2D, 0x0200, 10);
247 BEGIN_NVC0(chan,
NvSub2D, 0x0230, 10);