Lines Matching refs:OUT_BATCH
118 OUT_BATCH(GEN4_3DSTATE_VERTEX_ELEMENTS | in gen7_emit_vertex_elements()
121 OUT_BATCH(0 << GEN6_VE0_VERTEX_BUFFER_INDEX_SHIFT | GEN6_VE0_VALID | in gen7_emit_vertex_elements()
125 OUT_BATCH(GEN4_VFCOMPONENT_STORE_0 << VE1_VFCOMPONENT_0_SHIFT | in gen7_emit_vertex_elements()
131 OUT_BATCH(0 << GEN6_VE0_VERTEX_BUFFER_INDEX_SHIFT | GEN6_VE0_VALID | in gen7_emit_vertex_elements()
134 OUT_BATCH(GEN4_VFCOMPONENT_STORE_SRC << VE1_VFCOMPONENT_0_SHIFT | in gen7_emit_vertex_elements()
140 OUT_BATCH(0 << GEN6_VE0_VERTEX_BUFFER_INDEX_SHIFT | GEN6_VE0_VALID | in gen7_emit_vertex_elements()
143 OUT_BATCH(GEN4_VFCOMPONENT_STORE_SRC << VE1_VFCOMPONENT_0_SHIFT | in gen7_emit_vertex_elements()
183 OUT_BATCH(GEN4_3DSTATE_VERTEX_BUFFERS | (5 - 2)); in gen7_emit_vertex_buffer()
184 OUT_BATCH(0 << GEN6_VB0_BUFFER_INDEX_SHIFT | in gen7_emit_vertex_buffer()
190 OUT_BATCH(~0); in gen7_emit_vertex_buffer()
191 OUT_BATCH(0); in gen7_emit_vertex_buffer()
215 OUT_BATCH(GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS | (2 - 2)); in gen7_emit_binding_table()
216 OUT_BATCH(bind_surf_off); in gen7_emit_binding_table()
222 OUT_BATCH(GEN4_3DSTATE_DRAWING_RECTANGLE | (4 - 2)); in gen7_emit_drawing_rectangle()
223 OUT_BATCH(0); in gen7_emit_drawing_rectangle()
224 OUT_BATCH((igt_buf_height(dst) - 1) << 16 | (igt_buf_width(dst) - 1)); in gen7_emit_drawing_rectangle()
225 OUT_BATCH(0); in gen7_emit_drawing_rectangle()
247 OUT_BATCH(GEN4_STATE_BASE_ADDRESS | (10 - 2)); in gen7_emit_state_base_address()
248 OUT_BATCH(0); in gen7_emit_state_base_address()
251 OUT_BATCH(0); in gen7_emit_state_base_address()
254 OUT_BATCH(0); in gen7_emit_state_base_address()
255 OUT_BATCH(0 | BASE_ADDRESS_MODIFY); in gen7_emit_state_base_address()
256 OUT_BATCH(0); in gen7_emit_state_base_address()
257 OUT_BATCH(0 | BASE_ADDRESS_MODIFY); in gen7_emit_state_base_address()
276 OUT_BATCH(GEN7_3DSTATE_BLEND_STATE_POINTERS | (2 - 2)); in gen7_emit_cc()
277 OUT_BATCH(blend_state); in gen7_emit_cc()
279 OUT_BATCH(GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC | (2 - 2)); in gen7_emit_cc()
280 OUT_BATCH(cc_viewport); in gen7_emit_cc()
305 OUT_BATCH(GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS | (2 - 2)); in gen7_emit_sampler()
306 OUT_BATCH(sampler_off); in gen7_emit_sampler()
312 OUT_BATCH(GEN6_3DSTATE_MULTISAMPLE | (4 - 2)); in gen7_emit_multisample()
313 OUT_BATCH(GEN6_3DSTATE_MULTISAMPLE_PIXEL_LOCATION_CENTER | in gen7_emit_multisample()
315 OUT_BATCH(0); in gen7_emit_multisample()
316 OUT_BATCH(0); in gen7_emit_multisample()
318 OUT_BATCH(GEN6_3DSTATE_SAMPLE_MASK | (2 - 2)); in gen7_emit_multisample()
319 OUT_BATCH(1); in gen7_emit_multisample()
325 OUT_BATCH(GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS | (2 - 2)); in gen7_emit_urb()
326 OUT_BATCH(8); /* in 1KBs */ in gen7_emit_urb()
329 OUT_BATCH(GEN7_3DSTATE_URB_VS | (2 - 2)); in gen7_emit_urb()
330 OUT_BATCH((64 << GEN7_URB_ENTRY_NUMBER_SHIFT) | in gen7_emit_urb()
334 OUT_BATCH(GEN7_3DSTATE_URB_HS | (2 - 2)); in gen7_emit_urb()
335 OUT_BATCH((0 << GEN7_URB_ENTRY_SIZE_SHIFT) | in gen7_emit_urb()
338 OUT_BATCH(GEN7_3DSTATE_URB_DS | (2 - 2)); in gen7_emit_urb()
339 OUT_BATCH((0 << GEN7_URB_ENTRY_SIZE_SHIFT) | in gen7_emit_urb()
342 OUT_BATCH(GEN7_3DSTATE_URB_GS | (2 - 2)); in gen7_emit_urb()
343 OUT_BATCH((0 << GEN7_URB_ENTRY_SIZE_SHIFT) | in gen7_emit_urb()
350 OUT_BATCH(GEN6_3DSTATE_VS | (6 - 2)); in gen7_emit_vs()
351 OUT_BATCH(0); /* no VS kernel */ in gen7_emit_vs()
352 OUT_BATCH(0); in gen7_emit_vs()
353 OUT_BATCH(0); in gen7_emit_vs()
354 OUT_BATCH(0); in gen7_emit_vs()
355 OUT_BATCH(0); /* pass-through */ in gen7_emit_vs()
361 OUT_BATCH(GEN7_3DSTATE_HS | (7 - 2)); in gen7_emit_hs()
362 OUT_BATCH(0); /* no HS kernel */ in gen7_emit_hs()
363 OUT_BATCH(0); in gen7_emit_hs()
364 OUT_BATCH(0); in gen7_emit_hs()
365 OUT_BATCH(0); in gen7_emit_hs()
366 OUT_BATCH(0); in gen7_emit_hs()
367 OUT_BATCH(0); /* pass-through */ in gen7_emit_hs()
373 OUT_BATCH(GEN7_3DSTATE_TE | (4 - 2)); in gen7_emit_te()
374 OUT_BATCH(0); in gen7_emit_te()
375 OUT_BATCH(0); in gen7_emit_te()
376 OUT_BATCH(0); in gen7_emit_te()
382 OUT_BATCH(GEN7_3DSTATE_DS | (6 - 2)); in gen7_emit_ds()
383 OUT_BATCH(0); in gen7_emit_ds()
384 OUT_BATCH(0); in gen7_emit_ds()
385 OUT_BATCH(0); in gen7_emit_ds()
386 OUT_BATCH(0); in gen7_emit_ds()
387 OUT_BATCH(0); in gen7_emit_ds()
393 OUT_BATCH(GEN6_3DSTATE_GS | (7 - 2)); in gen7_emit_gs()
394 OUT_BATCH(0); /* no GS kernel */ in gen7_emit_gs()
395 OUT_BATCH(0); in gen7_emit_gs()
396 OUT_BATCH(0); in gen7_emit_gs()
397 OUT_BATCH(0); in gen7_emit_gs()
398 OUT_BATCH(0); in gen7_emit_gs()
399 OUT_BATCH(0); /* pass-through */ in gen7_emit_gs()
405 OUT_BATCH(GEN7_3DSTATE_STREAMOUT | (3 - 2)); in gen7_emit_streamout()
406 OUT_BATCH(0); in gen7_emit_streamout()
407 OUT_BATCH(0); in gen7_emit_streamout()
413 OUT_BATCH(GEN6_3DSTATE_SF | (7 - 2)); in gen7_emit_sf()
414 OUT_BATCH(0); in gen7_emit_sf()
415 OUT_BATCH(GEN6_3DSTATE_SF_CULL_NONE); in gen7_emit_sf()
416 OUT_BATCH(2 << GEN6_3DSTATE_SF_TRIFAN_PROVOKE_SHIFT); in gen7_emit_sf()
417 OUT_BATCH(0); in gen7_emit_sf()
418 OUT_BATCH(0); in gen7_emit_sf()
419 OUT_BATCH(0); in gen7_emit_sf()
425 OUT_BATCH(GEN7_3DSTATE_SBE | (14 - 2)); in gen7_emit_sbe()
426 OUT_BATCH(1 << GEN7_SBE_NUM_OUTPUTS_SHIFT | in gen7_emit_sbe()
429 OUT_BATCH(0); in gen7_emit_sbe()
430 OUT_BATCH(0); /* dw4 */ in gen7_emit_sbe()
431 OUT_BATCH(0); in gen7_emit_sbe()
432 OUT_BATCH(0); in gen7_emit_sbe()
433 OUT_BATCH(0); in gen7_emit_sbe()
434 OUT_BATCH(0); /* dw8 */ in gen7_emit_sbe()
435 OUT_BATCH(0); in gen7_emit_sbe()
436 OUT_BATCH(0); in gen7_emit_sbe()
437 OUT_BATCH(0); in gen7_emit_sbe()
438 OUT_BATCH(0); /* dw12 */ in gen7_emit_sbe()
439 OUT_BATCH(0); in gen7_emit_sbe()
440 OUT_BATCH(0); in gen7_emit_sbe()
453 OUT_BATCH(GEN7_3DSTATE_PS | (8 - 2)); in gen7_emit_ps()
454 OUT_BATCH(kernel_off); in gen7_emit_ps()
455 OUT_BATCH(1 << GEN7_PS_SAMPLER_COUNT_SHIFT | in gen7_emit_ps()
457 OUT_BATCH(0); /* scratch address */ in gen7_emit_ps()
458 OUT_BATCH(threads | in gen7_emit_ps()
461 OUT_BATCH(6 << GEN7_PS_DISPATCH_START_GRF_SHIFT_0); in gen7_emit_ps()
462 OUT_BATCH(0); in gen7_emit_ps()
463 OUT_BATCH(0); in gen7_emit_ps()
469 OUT_BATCH(GEN6_3DSTATE_CLIP | (4 - 2)); in gen7_emit_clip()
470 OUT_BATCH(0); in gen7_emit_clip()
471 OUT_BATCH(0); /* pass-through */ in gen7_emit_clip()
472 OUT_BATCH(0); in gen7_emit_clip()
474 OUT_BATCH(GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CL | (2 - 2)); in gen7_emit_clip()
475 OUT_BATCH(0); in gen7_emit_clip()
481 OUT_BATCH(GEN6_3DSTATE_WM | (3 - 2)); in gen7_emit_wm()
482 OUT_BATCH(GEN7_WM_DISPATCH_ENABLE | in gen7_emit_wm()
484 OUT_BATCH(0); in gen7_emit_wm()
490 OUT_BATCH(GEN7_3DSTATE_DEPTH_BUFFER | (7 - 2)); in gen7_emit_null_depth_buffer()
491 OUT_BATCH(SURFACE_NULL << GEN4_3DSTATE_DEPTH_BUFFER_TYPE_SHIFT | in gen7_emit_null_depth_buffer()
493 OUT_BATCH(0); /* disable depth, stencil and hiz */ in gen7_emit_null_depth_buffer()
494 OUT_BATCH(0); in gen7_emit_null_depth_buffer()
495 OUT_BATCH(0); in gen7_emit_null_depth_buffer()
496 OUT_BATCH(0); in gen7_emit_null_depth_buffer()
497 OUT_BATCH(0); in gen7_emit_null_depth_buffer()
499 OUT_BATCH(GEN7_3DSTATE_CLEAR_PARAMS | (3 - 2)); in gen7_emit_null_depth_buffer()
500 OUT_BATCH(0); in gen7_emit_null_depth_buffer()
501 OUT_BATCH(0); in gen7_emit_null_depth_buffer()
536 OUT_BATCH(G4X_PIPELINE_SELECT | PIPELINE_SELECT_3D); in gen7_render_copyfunc()
562 OUT_BATCH(GEN4_3DPRIMITIVE | (7 - 2)); in gen7_render_copyfunc()
563 OUT_BATCH(GEN4_3DPRIMITIVE_VERTEX_SEQUENTIAL | _3DPRIM_RECTLIST); in gen7_render_copyfunc()
564 OUT_BATCH(3); in gen7_render_copyfunc()
565 OUT_BATCH(0); in gen7_render_copyfunc()
566 OUT_BATCH(1); /* single instance */ in gen7_render_copyfunc()
567 OUT_BATCH(0); /* start instance location */ in gen7_render_copyfunc()
568 OUT_BATCH(0); /* index buffer offset, ignored */ in gen7_render_copyfunc()
570 OUT_BATCH(MI_BATCH_BUFFER_END); in gen7_render_copyfunc()