Home
last modified time | relevance | path

Searched refs:BEGIN_NVC0 (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_screen.c763 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
783 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in tu102_graph_set_macro()
796 BEGIN_NVC0(push, SUBC_3D(0x10cc), 1); in nvc0_magic_3d_init()
798 BEGIN_NVC0(push, SUBC_3D(0x10e0), 2); in nvc0_magic_3d_init()
801 BEGIN_NVC0(push, SUBC_3D(0x10ec), 2); in nvc0_magic_3d_init()
805 BEGIN_NVC0(push, SUBC_3D(0x074c), 1); in nvc0_magic_3d_init()
809 BEGIN_NVC0(push, SUBC_3D(0x16a8), 1); in nvc0_magic_3d_init()
811 BEGIN_NVC0(push, SUBC_3D(0x1794), 1); in nvc0_magic_3d_init()
815 BEGIN_NVC0(push, SUBC_3D(0x12ac), 1); in nvc0_magic_3d_init()
818 BEGIN_NVC0(push, SUBC_3D(0x0218), 1); in nvc0_magic_3d_init()
[all …]
Dnvc0_compute.c58 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nvc0_screen_compute_setup()
62 BEGIN_NVC0(push, NVC0_CP(MP_LIMIT), 1); in nvc0_screen_compute_setup()
64 BEGIN_NVC0(push, NVC0_CP(CALL_LIMIT_LOG), 1); in nvc0_screen_compute_setup()
67 BEGIN_NVC0(push, SUBC_CP(0x02a0), 1); in nvc0_screen_compute_setup()
71 BEGIN_NVC0(push, SUBC_CP(0x02c4), 1); in nvc0_screen_compute_setup()
76 BEGIN_NVC0(push, SUBC_CP(0x02c4), 1); in nvc0_screen_compute_setup()
80 BEGIN_NVC0(push, NVC0_CP(TEMP_ADDRESS_HIGH), 2); in nvc0_screen_compute_setup()
83 BEGIN_NVC0(push, NVC0_CP(TEMP_SIZE_HIGH), 2); in nvc0_screen_compute_setup()
86 BEGIN_NVC0(push, NVC0_CP(WARP_TEMP_ALLOC), 1); in nvc0_screen_compute_setup()
88 BEGIN_NVC0(push, NVC0_CP(LOCAL_BASE), 1); in nvc0_screen_compute_setup()
[all …]
Dnvc0_shader_state.c75 BEGIN_NVC0(push, NVC0_3D(SP_START_ID(stage)), 1); in nvc0_program_sp_start_id()
78 BEGIN_NVC0(push, SUBC_3D(GV100_3D_SP_ADDRESS_HIGH(stage)), 2); in nvc0_program_sp_start_id()
94 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 1); in nvc0_vertprog_validate()
97 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(1)), 1); in nvc0_vertprog_validate()
159 BEGIN_NVC0(push, NVC0_3D(SHADE_MODEL), 1); in nvc0_fragprog_validate()
182 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(5)), 1); in nvc0_fragprog_validate()
185 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(5)), 1); in nvc0_fragprog_validate()
188 BEGIN_NVC0(push, SUBC_3D(0x0360), 2); in nvc0_fragprog_validate()
191 BEGIN_NVC0(push, NVC0_3D(ZCULL_TEST_MASK), 1); in nvc0_fragprog_validate()
203 BEGIN_NVC0(push, NVC0_3D(TESS_MODE), 1); in nvc0_tctlprog_validate()
[all …]
Dnve4_compute.c90 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nve4_screen_compute_setup()
93 BEGIN_NVC0(push, NVE4_CP(TEMP_ADDRESS_HIGH), 2); in nve4_screen_compute_setup()
100 BEGIN_NVC0(push, NVE4_CP(MP_TEMP_SIZE_HIGH(0)), 3); in nve4_screen_compute_setup()
105 BEGIN_NVC0(push, NVE4_CP(MP_TEMP_SIZE_HIGH(1)), 3); in nve4_screen_compute_setup()
117 BEGIN_NVC0(push, NVE4_CP(LOCAL_BASE), 1); in nve4_screen_compute_setup()
119 BEGIN_NVC0(push, NVE4_CP(SHARED_BASE), 1); in nve4_screen_compute_setup()
122 BEGIN_NVC0(push, NVE4_CP(CODE_ADDRESS_HIGH), 2); in nve4_screen_compute_setup()
126 BEGIN_NVC0(push, SUBC_CP(0x2a0), 2); in nve4_screen_compute_setup()
129 BEGIN_NVC0(push, SUBC_CP(0x7b0), 2); in nve4_screen_compute_setup()
134 BEGIN_NVC0(push, SUBC_CP(0x0310), 1); in nve4_screen_compute_setup()
[all …]
Dnvc0_vbo.c186 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib()
339 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_DIVISOR(i)), 1); in nvc0_validate_vertex_buffers()
342 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 1); in nvc0_validate_vertex_buffers()
353 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 4); in nvc0_validate_vertex_buffers()
359 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 3); in nvc0_validate_vertex_buffers()
366 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nvc0_validate_vertex_buffers()
368 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nvc0_validate_vertex_buffers()
396 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 1); in nvc0_validate_vertex_buffers_shared()
410 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 3); in nvc0_validate_vertex_buffers_shared()
416 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(b)), 2); in nvc0_validate_vertex_buffers_shared()
[all …]
Dnvc0_transfer.c38 BEGIN_NVC0(push, NVC0_M2MF(TILING_MODE_IN), 5); in nvc0_m2mf_transfer_rect()
47 BEGIN_NVC0(push, NVC0_M2MF(PITCH_IN), 1); in nvc0_m2mf_transfer_rect()
54 BEGIN_NVC0(push, NVC0_M2MF(TILING_MODE_OUT), 5); in nvc0_m2mf_transfer_rect()
63 BEGIN_NVC0(push, NVC0_M2MF(PITCH_OUT), 1); in nvc0_m2mf_transfer_rect()
72 BEGIN_NVC0(push, NVC0_M2MF(OFFSET_IN_HIGH), 2); in nvc0_m2mf_transfer_rect()
76 BEGIN_NVC0(push, NVC0_M2MF(OFFSET_OUT_HIGH), 2); in nvc0_m2mf_transfer_rect()
81 BEGIN_NVC0(push, NVC0_M2MF(TILING_POSITION_IN_X), 2); in nvc0_m2mf_transfer_rect()
88 BEGIN_NVC0(push, NVC0_M2MF(TILING_POSITION_OUT_X), 2); in nvc0_m2mf_transfer_rect()
95 BEGIN_NVC0(push, NVC0_M2MF(LINE_LENGTH_IN), 2); in nvc0_m2mf_transfer_rect()
98 BEGIN_NVC0(push, NVC0_M2MF(EXEC), 1); in nvc0_m2mf_transfer_rect()
[all …]
Dnvc0_state_validate.c32 BEGIN_NVC0(push, NVC0_3D(ZCULL_REGION), 1);
34 BEGIN_NVC0(push, NVC0_3D(ZCULL_ADDRESS_HIGH), 2);
38 BEGIN_NVC0(push, NVC0_3D(ZCULL_LIMIT_HIGH), 2);
41 BEGIN_NVC0(push, SUBC_3D(0x07e0), 2);
44 BEGIN_NVC0(push, SUBC_3D(0x15c8), 1); /* bits 0x3 */
46 BEGIN_NVC0(push, NVC0_3D(ZCULL_WIDTH), 4);
51 BEGIN_NVC0(push, NVC0_3D(ZCULL_WINDOW_OFFSET_X), 2);
54 BEGIN_NVC0(push, NVC0_3D(ZCULL_INVALIDATE), 1);
62 BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(i)), 9); in nvc0_fb_set_null_rt()
131 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in gm200_validate_sample_locations()
[all …]
Dnvc0_surface.c120 BEGIN_NVC0(push, SUBC_2D(mthd), 2); in nvc0_2d_texture_set()
123 BEGIN_NVC0(push, SUBC_2D(mthd + 0x14), 5); in nvc0_2d_texture_set()
130 BEGIN_NVC0(push, SUBC_2D(mthd), 5); in nvc0_2d_texture_set()
136 BEGIN_NVC0(push, SUBC_2D(mthd + 0x18), 4); in nvc0_2d_texture_set()
150 BEGIN_NVC0(push, SUBC_2D(NVC0_2D_CLIP_X), 4); in nvc0_2d_texture_set()
185 BEGIN_NVC0(push, NVC0_2D(BLIT_DST_X), 4); in nvc0_2d_texture_do_copy()
190 BEGIN_NVC0(push, NVC0_2D(BLIT_DU_DX_FRACT), 4); in nvc0_2d_texture_do_copy()
195 BEGIN_NVC0(push, NVC0_2D(BLIT_SRC_X_FRACT), 4); in nvc0_2d_texture_do_copy()
306 BEGIN_NVC0(push, NVC0_3D(CLEAR_COLOR(0)), 4); in nvc0_clear_render_target()
312 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_clear_render_target()
[all …]
Dnvc0_video.c189 BEGIN_NVC0(push[0], SUBC_BSP(NV01_SUBCHAN_OBJECT), 1); in nvc0_create_decoder()
192 BEGIN_NVC0(push[1], SUBC_VP(NV01_SUBCHAN_OBJECT), 1); in nvc0_create_decoder()
195 BEGIN_NVC0(push[2], SUBC_PPP(NV01_SUBCHAN_OBJECT), 1); in nvc0_create_decoder()
276 BEGIN_NVC0(push[0], SUBC_BSP(0x200), 2); in nvc0_create_decoder()
280 BEGIN_NVC0(push[1], SUBC_VP(0x200), 2); in nvc0_create_decoder()
284 BEGIN_NVC0(push[2], SUBC_PPP(0x200), 2); in nvc0_create_decoder()
304 BEGIN_NVC0(push[0], SUBC_BSP(0x240), 3); in nvc0_create_decoder()
309 BEGIN_NVC0(push[0], SUBC_BSP(0x304), 1); in nvc0_create_decoder()
315 BEGIN_NVC0(push[1], SUBC_VP(0x240), 3); in nvc0_create_decoder()
320 BEGIN_NVC0(push[1], SUBC_VP(0x304), 1); in nvc0_create_decoder()
[all …]
Dnvc0_vbo_translate.c229 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_START_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
234 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
236 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
274 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i08()
282 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
294 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
331 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i16()
339 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
351 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
388 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i32()
[all …]
Dnvc0_video_vp.c130 BEGIN_NVC0(push, SUBC_VP(0x700), 7); in nvc0_decoder_vp()
142 BEGIN_NVC0(push, SUBC_VP(0x71c), 2); in nvc0_decoder_vp()
147 BEGIN_NVC0(push, SUBC_VP(0x724), 5); in nvc0_decoder_vp()
157 BEGIN_NVC0(push, SUBC_VP(0x400), dec->base.max_references - 2); in nvc0_decoder_vp()
165 BEGIN_NVC0(push, SUBC_VP(0x438), 1); in nvc0_decoder_vp()
172 BEGIN_NVC0(push, SUBC_VP(0x240), 3); in nvc0_decoder_vp()
177 BEGIN_NVC0(push, SUBC_VP(0x300), 1); in nvc0_decoder_vp()
193 BEGIN_NVC0(push, SUBC_VP(0x300), 1); in nvc0_decoder_vp()
Dnvc0_video_ppp.c53 BEGIN_NVC0(push, SUBC_PPP(0x700), 10); in nvc0_decoder_setup_ppp()
84 BEGIN_NVC0(push, SUBC_PPP(0x400), 1); in nvc0_decoder_vc1_ppp()
110 BEGIN_NVC0(push, SUBC_PPP(0x734), 2); in nvc0_decoder_ppp()
115 BEGIN_NVC0(push, SUBC_PPP(0x240), 3); in nvc0_decoder_ppp()
120 BEGIN_NVC0(push, SUBC_PPP(0x300), 1); in nvc0_decoder_ppp()
134 BEGIN_NVC0(push, SUBC_PPP(0x300), 1); in nvc0_decoder_ppp()
Dnvc0_video_bsp.c176 BEGIN_NVC0(push, SUBC_BSP(0x700), 5); in nvc0_decoder_bsp_end()
189 BEGIN_NVC0(push, SUBC_BSP(0x400), 6); in nvc0_decoder_bsp_end()
198 BEGIN_NVC0(push, SUBC_BSP(0x400), 8); in nvc0_decoder_bsp_end()
211 BEGIN_NVC0(push, SUBC_BSP(0x240), 3); in nvc0_decoder_bsp_end()
216 BEGIN_NVC0(push, SUBC_BSP(0x300), 1); in nvc0_decoder_bsp_end()
234 BEGIN_NVC0(push, SUBC_BSP(0x300), 1); in nvc0_decoder_bsp_end()
Dnvc0_query_hw_sm.c2337 BEGIN_NVC0(push, SUBC_SW(0x06ac), 1); in nve4_hw_sm_begin_query()
2353 BEGIN_NVC0(push, SUBC_SW(0x0600), 1); in nve4_hw_sm_begin_query()
2369 BEGIN_NVC0(push, NVE4_CP(MP_PM_A_SIGSEL(c & 3)), 1); in nve4_hw_sm_begin_query()
2371 BEGIN_NVC0(push, NVE4_CP(MP_PM_B_SIGSEL(c & 3)), 1); in nve4_hw_sm_begin_query()
2373 BEGIN_NVC0(push, NVE4_CP(MP_PM_SRCSEL(c)), 1); in nve4_hw_sm_begin_query()
2375 BEGIN_NVC0(push, NVE4_CP(MP_PM_FUNC(c)), 1); in nve4_hw_sm_begin_query()
2377 BEGIN_NVC0(push, NVE4_CP(MP_PM_SET(c)), 1); in nve4_hw_sm_begin_query()
2388 BEGIN_NVC0(push, SUBC_CP(0x33e0), 1); in nve4_hw_sm_begin_query()
2429 BEGIN_NVC0(push, SUBC_SW(0x0600), 1); in nvc0_hw_sm_begin_query()
2452 BEGIN_NVC0(push, NVC0_CP(MP_PM_SIGSEL(c)), 1); in nvc0_hw_sm_begin_query()
[all …]
Dnvc0_tex.c510 BEGIN_NVC0(push, NVC0_CP(TEX_CACHE_CTL), 1); in nvc0_validate_tic()
512 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nvc0_validate_tic()
575 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nve4_validate_tic()
611 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TIC_FLUSH), 1); in nvc0_validate_textures()
733 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TSC_FLUSH), 1); in nvc0_validate_samplers()
750 BEGIN_NVC0(push, NVC0_3D(TSC_FLUSH), 1); in nvc0_upload_tsc0()
772 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nve4_set_tex_handles()
780 BEGIN_NVC0(push, NVC0_3D(CB_POS), 2); in nve4_set_tex_handles()
1143 BEGIN_NVC0(push, NVC0_CP(IMAGE(i)), 6); in nvc0_validate_suf()
1145 BEGIN_NVC0(push, NVC0_3D(IMAGE(i)), 6); in nvc0_validate_suf()
[all …]
Dnvc0_query.c157 BEGIN_NVC0(push, NVC0_3D(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
161 BEGIN_NVC0(push, NVC0_2D(COND_ADDRESS_HIGH), 2); in nvc0_render_condition()
165 BEGIN_NVC0(push, NVC0_CP(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
Dnvc0_query_hw.c78 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_hw_query_get()
176 BEGIN_NVC0(push, NVC0_3D(COUNTER_RESET), 1); in nvc0_hw_begin_query()
650 BEGIN_NVC0(push, SUBC_3D(NV84_SUBCHAN_SEMAPHORE_ADDRESS_HIGH), 4); in nvc0_hw_query_fifo_wait()
Dnvc0_winsys.h113 BEGIN_NVC0(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NVC0() function
Dnvc0_program.c939 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_CP(FLUSH), 1); in nvc0_program_upload()
954 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload()