Lines Matching refs:OUT_RING
56 OUT_RING(CCE_PACKET0(R128_AUX1_SC_LEFT, 3)); in r128_emit_clip_rects()
57 OUT_RING(boxes[0].x1); in r128_emit_clip_rects()
58 OUT_RING(boxes[0].x2 - 1); in r128_emit_clip_rects()
59 OUT_RING(boxes[0].y1); in r128_emit_clip_rects()
60 OUT_RING(boxes[0].y2 - 1); in r128_emit_clip_rects()
65 OUT_RING(CCE_PACKET0(R128_AUX2_SC_LEFT, 3)); in r128_emit_clip_rects()
66 OUT_RING(boxes[1].x1); in r128_emit_clip_rects()
67 OUT_RING(boxes[1].x2 - 1); in r128_emit_clip_rects()
68 OUT_RING(boxes[1].y1); in r128_emit_clip_rects()
69 OUT_RING(boxes[1].y2 - 1); in r128_emit_clip_rects()
74 OUT_RING(CCE_PACKET0(R128_AUX3_SC_LEFT, 3)); in r128_emit_clip_rects()
75 OUT_RING(boxes[2].x1); in r128_emit_clip_rects()
76 OUT_RING(boxes[2].x2 - 1); in r128_emit_clip_rects()
77 OUT_RING(boxes[2].y1); in r128_emit_clip_rects()
78 OUT_RING(boxes[2].y2 - 1); in r128_emit_clip_rects()
83 OUT_RING(CCE_PACKET0(R128_AUX_SC_CNTL, 0)); in r128_emit_clip_rects()
84 OUT_RING(aux_sc_cntl); in r128_emit_clip_rects()
98 OUT_RING(CCE_PACKET0(R128_SCALE_3D_CNTL, 0)); in r128_emit_core()
99 OUT_RING(ctx->scale_3d_cntl); in r128_emit_core()
113 OUT_RING(CCE_PACKET0(R128_DST_PITCH_OFFSET_C, 11)); in r128_emit_context()
114 OUT_RING(ctx->dst_pitch_offset_c); in r128_emit_context()
115 OUT_RING(ctx->dp_gui_master_cntl_c); in r128_emit_context()
116 OUT_RING(ctx->sc_top_left_c); in r128_emit_context()
117 OUT_RING(ctx->sc_bottom_right_c); in r128_emit_context()
118 OUT_RING(ctx->z_offset_c); in r128_emit_context()
119 OUT_RING(ctx->z_pitch_c); in r128_emit_context()
120 OUT_RING(ctx->z_sten_cntl_c); in r128_emit_context()
121 OUT_RING(ctx->tex_cntl_c); in r128_emit_context()
122 OUT_RING(ctx->misc_3d_state_cntl_reg); in r128_emit_context()
123 OUT_RING(ctx->texture_clr_cmp_clr_c); in r128_emit_context()
124 OUT_RING(ctx->texture_clr_cmp_msk_c); in r128_emit_context()
125 OUT_RING(ctx->fog_color_c); in r128_emit_context()
139 OUT_RING(CCE_PACKET1(R128_SETUP_CNTL, R128_PM4_VC_FPU_SETUP)); in r128_emit_setup()
140 OUT_RING(ctx->setup_cntl); in r128_emit_setup()
141 OUT_RING(ctx->pm4_vc_fpu_setup); in r128_emit_setup()
155 OUT_RING(CCE_PACKET0(R128_DP_WRITE_MASK, 0)); in r128_emit_masks()
156 OUT_RING(ctx->dp_write_mask); in r128_emit_masks()
158 OUT_RING(CCE_PACKET0(R128_STEN_REF_MASK_C, 1)); in r128_emit_masks()
159 OUT_RING(ctx->sten_ref_mask_c); in r128_emit_masks()
160 OUT_RING(ctx->plane_3d_mask_c); in r128_emit_masks()
174 OUT_RING(CCE_PACKET0(R128_WINDOW_XY_OFFSET, 0)); in r128_emit_window()
175 OUT_RING(ctx->window_xy_offset); in r128_emit_window()
191 OUT_RING(CCE_PACKET0(R128_PRIM_TEX_CNTL_C, in r128_emit_tex0()
193 OUT_RING(tex->tex_cntl); in r128_emit_tex0()
194 OUT_RING(tex->tex_combine_cntl); in r128_emit_tex0()
195 OUT_RING(ctx->tex_size_pitch_c); in r128_emit_tex0()
197 OUT_RING(tex->tex_offset[i]); in r128_emit_tex0()
199 OUT_RING(CCE_PACKET0(R128_CONSTANT_COLOR_C, 1)); in r128_emit_tex0()
200 OUT_RING(ctx->constant_color_c); in r128_emit_tex0()
201 OUT_RING(tex->tex_border_color); in r128_emit_tex0()
216 OUT_RING(CCE_PACKET0(R128_SEC_TEX_CNTL_C, 1 + R128_MAX_TEXTURE_LEVELS)); in r128_emit_tex1()
217 OUT_RING(tex->tex_cntl); in r128_emit_tex1()
218 OUT_RING(tex->tex_combine_cntl); in r128_emit_tex1()
220 OUT_RING(tex->tex_offset[i]); in r128_emit_tex1()
222 OUT_RING(CCE_PACKET0(R128_SEC_TEXTURE_BORDER_COLOR_C, 0)); in r128_emit_tex1()
223 OUT_RING(tex->tex_border_color); in r128_emit_tex1()
311 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_clear_box()
312 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_clear_box()
319 OUT_RING((pitch << 21) | (offset >> 5)); in r128_clear_box()
320 OUT_RING(color); in r128_clear_box()
322 OUT_RING((x << 16) | y); in r128_clear_box()
323 OUT_RING((w << 16) | h); in r128_clear_box()
393 OUT_RING(CCE_PACKET0(R128_DP_WRITE_MASK, 0)); in r128_cce_dispatch_clear()
394 OUT_RING(clear->color_mask); in r128_cce_dispatch_clear()
402 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_clear()
403 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_clear()
411 OUT_RING(dev_priv->front_pitch_offset_c); in r128_cce_dispatch_clear()
412 OUT_RING(clear->clear_color); in r128_cce_dispatch_clear()
414 OUT_RING((x << 16) | y); in r128_cce_dispatch_clear()
415 OUT_RING((w << 16) | h); in r128_cce_dispatch_clear()
423 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_clear()
424 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_clear()
432 OUT_RING(dev_priv->back_pitch_offset_c); in r128_cce_dispatch_clear()
433 OUT_RING(clear->clear_color); in r128_cce_dispatch_clear()
435 OUT_RING((x << 16) | y); in r128_cce_dispatch_clear()
436 OUT_RING((w << 16) | h); in r128_cce_dispatch_clear()
444 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_clear()
445 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_clear()
453 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_clear()
454 OUT_RING(clear->clear_depth); in r128_cce_dispatch_clear()
456 OUT_RING((x << 16) | y); in r128_cce_dispatch_clear()
457 OUT_RING((w << 16) | h); in r128_cce_dispatch_clear()
488 OUT_RING(CCE_PACKET3(R128_CNTL_BITBLT_MULTI, 5)); in r128_cce_dispatch_swap()
489 OUT_RING(R128_GMC_SRC_PITCH_OFFSET_CNTL | in r128_cce_dispatch_swap()
502 OUT_RING(dev_priv->back_pitch_offset_c); in r128_cce_dispatch_swap()
503 OUT_RING(dev_priv->front_pitch_offset_c); in r128_cce_dispatch_swap()
505 OUT_RING(dev_priv->front_pitch_offset_c); in r128_cce_dispatch_swap()
506 OUT_RING(dev_priv->back_pitch_offset_c); in r128_cce_dispatch_swap()
509 OUT_RING((x << 16) | y); in r128_cce_dispatch_swap()
510 OUT_RING((x << 16) | y); in r128_cce_dispatch_swap()
511 OUT_RING((w << 16) | h); in r128_cce_dispatch_swap()
524 OUT_RING(CCE_PACKET0(R128_LAST_FRAME_REG, 0)); in r128_cce_dispatch_swap()
525 OUT_RING(dev_priv->sarea_priv->last_frame); in r128_cce_dispatch_swap()
546 OUT_RING(CCE_PACKET0(R128_CRTC_OFFSET, 0)); in r128_cce_dispatch_flip()
549 OUT_RING(dev_priv->back_offset); in r128_cce_dispatch_flip()
551 OUT_RING(dev_priv->front_offset); in r128_cce_dispatch_flip()
565 OUT_RING(CCE_PACKET0(R128_LAST_FRAME_REG, 0)); in r128_cce_dispatch_flip()
566 OUT_RING(dev_priv->sarea_priv->last_frame); in r128_cce_dispatch_flip()
604 OUT_RING(CCE_PACKET3(R128_3D_RNDR_GEN_INDX_PRIM, 3)); in r128_cce_dispatch_vertex()
605 OUT_RING(offset); in r128_cce_dispatch_vertex()
606 OUT_RING(size); in r128_cce_dispatch_vertex()
607 OUT_RING(format); in r128_cce_dispatch_vertex()
608 OUT_RING(prim | R128_CCE_VC_CNTL_PRIM_WALK_LIST | in r128_cce_dispatch_vertex()
623 OUT_RING(CCE_PACKET0(R128_LAST_DISPATCH_REG, 0)); in r128_cce_dispatch_vertex()
624 OUT_RING(buf_priv->age); in r128_cce_dispatch_vertex()
668 OUT_RING(CCE_PACKET0(R128_PM4_IW_INDOFF, 1)); in r128_cce_dispatch_indirect()
669 OUT_RING(offset); in r128_cce_dispatch_indirect()
670 OUT_RING(dwords); in r128_cce_dispatch_indirect()
681 OUT_RING(CCE_PACKET0(R128_LAST_DISPATCH_REG, 0)); in r128_cce_dispatch_indirect()
682 OUT_RING(buf_priv->age); in r128_cce_dispatch_indirect()
762 OUT_RING(CCE_PACKET0(R128_LAST_DISPATCH_REG, 0)); in r128_cce_dispatch_indices()
763 OUT_RING(buf_priv->age); in r128_cce_dispatch_indices()
822 OUT_RING(CCE_PACKET0(R128_PC_GUI_CTLSTAT, 0)); in r128_cce_dispatch_blit()
823 OUT_RING(R128_PC_RI_GUI | R128_PC_FLUSH_GUI); in r128_cce_dispatch_blit()
875 OUT_RING(CCE_PACKET0(R128_PC_GUI_CTLSTAT, 0)); in r128_cce_dispatch_blit()
876 OUT_RING(R128_PC_FLUSH_GUI); in r128_cce_dispatch_blit()
927 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_write_span()
928 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_write_span()
936 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_write_span()
937 OUT_RING(buffer[i]); in r128_cce_dispatch_write_span()
939 OUT_RING((x << 16) | y); in r128_cce_dispatch_write_span()
940 OUT_RING((1 << 16) | 1); in r128_cce_dispatch_write_span()
951 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_write_span()
952 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_write_span()
960 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_write_span()
961 OUT_RING(buffer[i]); in r128_cce_dispatch_write_span()
963 OUT_RING((x << 16) | y); in r128_cce_dispatch_write_span()
964 OUT_RING((1 << 16) | 1); in r128_cce_dispatch_write_span()
1022 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_write_pixels()
1023 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_write_pixels()
1031 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_write_pixels()
1032 OUT_RING(buffer[i]); in r128_cce_dispatch_write_pixels()
1034 OUT_RING((x[i] << 16) | y[i]); in r128_cce_dispatch_write_pixels()
1035 OUT_RING((1 << 16) | 1); in r128_cce_dispatch_write_pixels()
1046 OUT_RING(CCE_PACKET3(R128_CNTL_PAINT_MULTI, 4)); in r128_cce_dispatch_write_pixels()
1047 OUT_RING(R128_GMC_DST_PITCH_OFFSET_CNTL | in r128_cce_dispatch_write_pixels()
1055 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_write_pixels()
1056 OUT_RING(buffer[i]); in r128_cce_dispatch_write_pixels()
1058 OUT_RING((x[i] << 16) | y[i]); in r128_cce_dispatch_write_pixels()
1059 OUT_RING((1 << 16) | 1); in r128_cce_dispatch_write_pixels()
1091 OUT_RING(CCE_PACKET3(R128_CNTL_BITBLT_MULTI, 5)); in r128_cce_dispatch_read_span()
1092 OUT_RING(R128_GMC_SRC_PITCH_OFFSET_CNTL | in r128_cce_dispatch_read_span()
1101 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_read_span()
1102 OUT_RING(dev_priv->span_pitch_offset_c); in r128_cce_dispatch_read_span()
1104 OUT_RING((x << 16) | y); in r128_cce_dispatch_read_span()
1105 OUT_RING((0 << 16) | 0); in r128_cce_dispatch_read_span()
1106 OUT_RING((count << 16) | 1); in r128_cce_dispatch_read_span()
1153 OUT_RING(CCE_PACKET3(R128_CNTL_BITBLT_MULTI, 5)); in r128_cce_dispatch_read_pixels()
1154 OUT_RING(R128_GMC_SRC_PITCH_OFFSET_CNTL | in r128_cce_dispatch_read_pixels()
1163 OUT_RING(dev_priv->depth_pitch_offset_c); in r128_cce_dispatch_read_pixels()
1164 OUT_RING(dev_priv->span_pitch_offset_c); in r128_cce_dispatch_read_pixels()
1166 OUT_RING((x[i] << 16) | y[i]); in r128_cce_dispatch_read_pixels()
1167 OUT_RING((i << 16) | 0); in r128_cce_dispatch_read_pixels()
1168 OUT_RING((1 << 16) | 1); in r128_cce_dispatch_read_pixels()
1192 OUT_RING(CCE_PACKET0(R128_BRUSH_DATA0, 31)); in r128_cce_dispatch_stipple()
1194 OUT_RING(stipple[i]); in r128_cce_dispatch_stipple()