Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_screen.c597 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
610 BEGIN_NVC0(push, SUBC_3D(0x10cc), 1); in nvc0_magic_3d_init()
612 BEGIN_NVC0(push, SUBC_3D(0x10e0), 2); in nvc0_magic_3d_init()
615 BEGIN_NVC0(push, SUBC_3D(0x10ec), 2); in nvc0_magic_3d_init()
618 BEGIN_NVC0(push, SUBC_3D(0x074c), 1); in nvc0_magic_3d_init()
621 BEGIN_NVC0(push, SUBC_3D(0x16a8), 1); in nvc0_magic_3d_init()
623 BEGIN_NVC0(push, SUBC_3D(0x1794), 1); in nvc0_magic_3d_init()
627 BEGIN_NVC0(push, SUBC_3D(0x12ac), 1); in nvc0_magic_3d_init()
630 BEGIN_NVC0(push, SUBC_3D(0x0218), 1); in nvc0_magic_3d_init()
632 BEGIN_NVC0(push, SUBC_3D(0x10fc), 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.c77 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 2); in nvc0_vertprog_validate()
80 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(1)), 1); in nvc0_vertprog_validate()
132 BEGIN_NVC0(push, NVC0_3D(SHADE_MODEL), 1); in nvc0_fragprog_validate()
155 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(5)), 2); in nvc0_fragprog_validate()
158 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(5)), 1); in nvc0_fragprog_validate()
161 BEGIN_NVC0(push, SUBC_3D(0x0360), 2); in nvc0_fragprog_validate()
164 BEGIN_NVC0(push, NVC0_3D(ZCULL_TEST_MASK), 1); in nvc0_fragprog_validate()
176 BEGIN_NVC0(push, NVC0_3D(TESS_MODE), 1); in nvc0_tctlprog_validate()
179 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(2)), 2); in nvc0_tctlprog_validate()
182 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(2)), 1); in nvc0_tctlprog_validate()
[all …]
Dnve4_compute.c76 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nve4_screen_compute_setup()
79 BEGIN_NVC0(push, NVE4_CP(TEMP_ADDRESS_HIGH), 2); in nve4_screen_compute_setup()
86 BEGIN_NVC0(push, NVE4_CP(MP_TEMP_SIZE_HIGH(0)), 3); in nve4_screen_compute_setup()
90 BEGIN_NVC0(push, NVE4_CP(MP_TEMP_SIZE_HIGH(1)), 3); in nve4_screen_compute_setup()
100 BEGIN_NVC0(push, NVE4_CP(LOCAL_BASE), 1); in nve4_screen_compute_setup()
102 BEGIN_NVC0(push, NVE4_CP(SHARED_BASE), 1); in nve4_screen_compute_setup()
105 BEGIN_NVC0(push, NVE4_CP(CODE_ADDRESS_HIGH), 2); in nve4_screen_compute_setup()
109 BEGIN_NVC0(push, SUBC_CP(0x0310), 1); in nve4_screen_compute_setup()
113 BEGIN_NVC0(push, NVE4_CP(TIC_ADDRESS_HIGH), 3); in nve4_screen_compute_setup()
117 BEGIN_NVC0(push, NVE4_CP(TSC_ADDRESS_HIGH), 3); in nve4_screen_compute_setup()
[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()
87 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_validate_fb()
[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_vbo.c185 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib()
340 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_DIVISOR(i)), 1); in nvc0_validate_vertex_buffers()
343 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 1); in nvc0_validate_vertex_buffers()
354 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 4); in nvc0_validate_vertex_buffers()
360 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 3); in nvc0_validate_vertex_buffers()
365 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nvc0_validate_vertex_buffers()
393 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 1); in nvc0_validate_vertex_buffers_shared()
407 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 3); in nvc0_validate_vertex_buffers_shared()
411 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(b)), 2); in nvc0_validate_vertex_buffers_shared()
468 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_PER_INSTANCE(0)), 2); in nvc0_vertex_arrays_validate()
[all …]
Dnvc0_surface.c118 BEGIN_NVC0(push, SUBC_2D(mthd), 2); in nvc0_2d_texture_set()
121 BEGIN_NVC0(push, SUBC_2D(mthd + 0x14), 5); in nvc0_2d_texture_set()
128 BEGIN_NVC0(push, SUBC_2D(mthd), 5); in nvc0_2d_texture_set()
134 BEGIN_NVC0(push, SUBC_2D(mthd + 0x18), 4); in nvc0_2d_texture_set()
143 BEGIN_NVC0(push, SUBC_2D(NVC0_2D_CLIP_X), 4); in nvc0_2d_texture_set()
178 BEGIN_NVC0(push, NVC0_2D(BLIT_DST_X), 4); in nvc0_2d_texture_do_copy()
183 BEGIN_NVC0(push, NVC0_2D(BLIT_DU_DX_FRACT), 4); in nvc0_2d_texture_do_copy()
188 BEGIN_NVC0(push, NVC0_2D(BLIT_SRC_X_FRACT), 4); in nvc0_2d_texture_do_copy()
299 BEGIN_NVC0(push, NVC0_3D(CLEAR_COLOR(0)), 4); in nvc0_clear_render_target()
305 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_clear_render_target()
[all …]
Dnvc0_video.c188 BEGIN_NVC0(push[0], SUBC_BSP(NV01_SUBCHAN_OBJECT), 1); in nvc0_create_decoder()
191 BEGIN_NVC0(push[1], SUBC_VP(NV01_SUBCHAN_OBJECT), 1); in nvc0_create_decoder()
194 BEGIN_NVC0(push[2], SUBC_PPP(NV01_SUBCHAN_OBJECT), 1); in nvc0_create_decoder()
275 BEGIN_NVC0(push[0], SUBC_BSP(0x200), 2); in nvc0_create_decoder()
279 BEGIN_NVC0(push[1], SUBC_VP(0x200), 2); in nvc0_create_decoder()
283 BEGIN_NVC0(push[2], SUBC_PPP(0x200), 2); in nvc0_create_decoder()
303 BEGIN_NVC0(push[0], SUBC_BSP(0x240), 3); in nvc0_create_decoder()
308 BEGIN_NVC0(push[0], SUBC_BSP(0x304), 1); in nvc0_create_decoder()
314 BEGIN_NVC0(push[1], SUBC_VP(0x240), 3); in nvc0_create_decoder()
319 BEGIN_NVC0(push[1], SUBC_VP(0x304), 1); in nvc0_create_decoder()
[all …]
Dnvc0_vbo_translate.c224 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_START_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
227 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
265 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i08()
273 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
285 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
322 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i16()
330 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
342 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
379 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i32()
387 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); 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.c2333 BEGIN_NVC0(push, SUBC_SW(0x06ac), 1); in nve4_hw_sm_begin_query()
2349 BEGIN_NVC0(push, SUBC_SW(0x0600), 1); in nve4_hw_sm_begin_query()
2365 BEGIN_NVC0(push, NVE4_CP(MP_PM_A_SIGSEL(c & 3)), 1); in nve4_hw_sm_begin_query()
2367 BEGIN_NVC0(push, NVE4_CP(MP_PM_B_SIGSEL(c & 3)), 1); in nve4_hw_sm_begin_query()
2369 BEGIN_NVC0(push, NVE4_CP(MP_PM_SRCSEL(c)), 1); in nve4_hw_sm_begin_query()
2371 BEGIN_NVC0(push, NVE4_CP(MP_PM_FUNC(c)), 1); in nve4_hw_sm_begin_query()
2373 BEGIN_NVC0(push, NVE4_CP(MP_PM_SET(c)), 1); in nve4_hw_sm_begin_query()
2384 BEGIN_NVC0(push, SUBC_CP(0x33e0), 1); in nve4_hw_sm_begin_query()
2425 BEGIN_NVC0(push, SUBC_SW(0x0600), 1); in nvc0_hw_sm_begin_query()
2448 BEGIN_NVC0(push, NVC0_CP(MP_PM_SIGSEL(c)), 1); in nvc0_hw_sm_begin_query()
[all …]
Dnvc0_tex.c512 BEGIN_NVC0(push, NVC0_CP(TEX_CACHE_CTL), 1); in nvc0_validate_tic()
514 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nvc0_validate_tic()
577 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nve4_validate_tic()
613 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TIC_FLUSH), 1); in nvc0_validate_textures()
722 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TSC_FLUSH), 1); in nvc0_validate_samplers()
749 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nve4_set_tex_handles()
757 BEGIN_NVC0(push, NVC0_3D(CB_POS), 2); in nve4_set_tex_handles()
1119 BEGIN_NVC0(push, NVC0_CP(IMAGE(i)), 6); in nvc0_validate_suf()
1121 BEGIN_NVC0(push, NVC0_3D(IMAGE(i)), 6); in nvc0_validate_suf()
1191 BEGIN_NVC0(push, NVC0_CP(CB_SIZE), 3); in nvc0_validate_suf()
[all …]
Dnvc0_query.c158 BEGIN_NVC0(push, NVC0_3D(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
162 BEGIN_NVC0(push, NVC0_2D(COND_ADDRESS_HIGH), 2); in nvc0_render_condition()
166 BEGIN_NVC0(push, NVC0_CP(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
Dnvc0_query_hw.c83 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_hw_query_get()
166 BEGIN_NVC0(push, NVC0_3D(COUNTER_RESET), 1); in nvc0_hw_begin_query()
612 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.c857 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_CP(FLUSH), 1); in nvc0_program_upload()
860 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(SP_START_ID(i)), 1); in nvc0_program_upload()
873 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload()