39 ret = RING_SPACE(chan, 4);
59 ret = RING_SPACE(chan, 7);
94 ret = RING_SPACE(chan, 8);
111 OUT_RING(chan, (image->
dy << 16) | (image->
dx & 0xffff));
113 ((image->
dx + image->
width) & 0xffff));
118 OUT_RING(chan, (image->
dy << 16) | (image->
dx & 0xffff));
121 int iter_len = dsize > 128 ? 128 : dsize;
123 ret = RING_SPACE(chan, iter_len + 1);
146 int surface_fmt, pattern_fmt, rect_fmt;
149 switch (info->
var.bits_per_pixel) {
161 switch (info->
var.transp.length) {
178 device->
card_type >= NV_10 ? 0x0062 : 0x0042,
184 0x0019,
NULL, 0, &
object);
189 0x0043,
NULL, 0, &
object);
194 0x0044,
NULL, 0, &
object);
199 0x004a,
NULL, 0, &
object);
204 device->
chipset >= 0x11 ? 0x009f : 0x005f,
209 if (RING_SPACE(chan, 49)) {
221 OUT_RING(chan, info->
fix.line_length | (info->
fix.line_length << 16));
222 OUT_RING(chan, info->
fix.smem_start - dev->mode_config.fb_base);
223 OUT_RING(chan, info->
fix.smem_start - dev->mode_config.fb_base);
250 OUT_RING(chan, (info->
var.yres_virtual << 16) | info->
var.xres_virtual);