/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_screen.c | 525 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit() 580 BEGIN_NV04(push, NV50_3D(COND_MODE), 1); in nv50_screen_init_hwctx() 583 BEGIN_NV04(push, NV50_3D(DMA_NOTIFY), 1); in nv50_screen_init_hwctx() 585 BEGIN_NV04(push, NV50_3D(DMA_ZETA), 11); in nv50_screen_init_hwctx() 588 BEGIN_NV04(push, NV50_3D(DMA_COLOR(0)), NV50_3D_DMA_COLOR__LEN); in nv50_screen_init_hwctx() 592 BEGIN_NV04(push, NV50_3D(REG_MODE), 1); in nv50_screen_init_hwctx() 594 BEGIN_NV04(push, NV50_3D(UNK1400_LANES), 1); in nv50_screen_init_hwctx() 598 BEGIN_NV04(push, NV50_3D(WATCHDOG_TIMER), 1); in nv50_screen_init_hwctx() 602 BEGIN_NV04(push, NV50_3D(ZETA_COMP_ENABLE), 1); in nv50_screen_init_hwctx() 605 BEGIN_NV04(push, NV50_3D(RT_COMP_ENABLE(0)), 8); in nv50_screen_init_hwctx() [all …]
|
D | nv50_shader_state.c | 67 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 74 BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); in nv50_constbufs_validate() 76 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nr); in nv50_constbufs_validate() 91 BEGIN_NV04(push, NV50_3D(CB_DEF_ADDRESS_HIGH), 3); in nv50_constbufs_validate() 96 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 104 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 159 BEGIN_NV04(push, NV50_3D(VP_ATTR_EN(0)), 2); in nv50_vertprog_validate() 162 BEGIN_NV04(push, NV50_3D(VP_REG_ALLOC_RESULT), 1); in nv50_vertprog_validate() 164 BEGIN_NV04(push, NV50_3D(VP_REG_ALLOC_TEMP), 1); in nv50_vertprog_validate() 166 BEGIN_NV04(push, NV50_3D(VP_START_ID), 1); in nv50_vertprog_validate() [all …]
|
D | nv50_vbo.c | 164 BEGIN_NV04(push, NV50_3D(VTX_ATTR_4F_X(attr)), 4); in nv50_emit_vtxattr() 171 BEGIN_NV04(push, NV50_3D(VTX_ATTR_3F_X(attr)), 3); in nv50_emit_vtxattr() 177 BEGIN_NV04(push, NV50_3D(VTX_ATTR_2F_X(attr)), 2); in nv50_emit_vtxattr() 183 BEGIN_NV04(push, NV50_3D(EDGEFLAG), 1); in nv50_emit_vtxattr() 186 BEGIN_NV04(push, NV50_3D(VTX_ATTR_1F(attr)), 1); in nv50_emit_vtxattr() 275 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nv50_update_user_vbufs() 278 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_START_HIGH(i)), 2); in nv50_update_user_vbufs() 330 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_ATTRIB(0)), n); in nv50_vertex_arrays_validate() 338 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_FETCH(i)), 1); in nv50_vertex_arrays_validate() 363 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_PER_INSTANCE(i)), 1); in nv50_vertex_arrays_validate() [all …]
|
D | nv50_state_validate.c | 9 BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(i)), 4); in nv50_fb_set_null_rt() 14 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_fb_set_null_rt() 30 BEGIN_NV04(push, NV50_3D(RT_CONTROL), 1); in nv50_validate_fb() 32 BEGIN_NV04(push, NV50_3D(SCREEN_SCISSOR_HORIZ), 2); in nv50_validate_fb() 57 BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(i)), 5); in nv50_validate_fb() 66 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_validate_fb() 69 BEGIN_NV04(push, NV50_3D(RT_ARRAY_MODE), 1); in nv50_validate_fb() 75 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_validate_fb() 78 BEGIN_NV04(push, NV50_3D(RT_ARRAY_MODE), 1); in nv50_validate_fb() 101 BEGIN_NV04(push, NV50_3D(ZETA_ADDRESS_HIGH), 5); in nv50_validate_fb() [all …]
|
D | nv50_surface.c | 292 BEGIN_NV04(push, NV50_3D(CLEAR_COLOR(0)), 4); in nv50_clear_render_target() 303 BEGIN_NV04(push, NV50_3D(SCREEN_SCISSOR_HORIZ), 2); in nv50_clear_render_target() 306 BEGIN_NV04(push, NV50_3D(SCISSOR_HORIZ(0)), 2); in nv50_clear_render_target() 311 BEGIN_NV04(push, NV50_3D(RT_CONTROL), 1); in nv50_clear_render_target() 313 BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(0)), 5); in nv50_clear_render_target() 319 BEGIN_NV04(push, NV50_3D(RT_HORIZ(0)), 2); in nv50_clear_render_target() 325 BEGIN_NV04(push, NV50_3D(RT_ARRAY_MODE), 1); in nv50_clear_render_target() 331 BEGIN_NV04(push, NV50_3D(MULTISAMPLE_MODE), 1); in nv50_clear_render_target() 335 BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1); in nv50_clear_render_target() 341 BEGIN_NV04(push, NV50_3D(VIEWPORT_HORIZ(0)), 2); in nv50_clear_render_target() [all …]
|
D | nv50_push.c | 87 BEGIN_NI04(ctx->push, NV50_3D(VERTEX_DATA), size); in emit_vertices_i08() 100 BEGIN_NV04(ctx->push, NV50_3D(VB_ELEMENT_U32), 1); in emit_vertices_i08() 126 BEGIN_NI04(ctx->push, NV50_3D(VERTEX_DATA), size); in emit_vertices_i16() 139 BEGIN_NV04(ctx->push, NV50_3D(VB_ELEMENT_U32), 1); in emit_vertices_i16() 165 BEGIN_NI04(ctx->push, NV50_3D(VERTEX_DATA), size); in emit_vertices_i32() 178 BEGIN_NV04(ctx->push, NV50_3D(VB_ELEMENT_U32), 1); in emit_vertices_i32() 199 BEGIN_NI04(ctx->push, NV50_3D(VERTEX_DATA), size); in emit_vertices_seq() 313 BEGIN_NV04(ctx.push, NV50_3D(PRIM_RESTART_ENABLE), 2); in nv50_push_vbo() 318 BEGIN_NV04(ctx.push, NV50_3D(PRIM_RESTART_ENABLE), 1); in nv50_push_vbo() 324 BEGIN_NV04(ctx.push, NV50_3D(VERTEX_BEGIN_GL), 1); in nv50_push_vbo() [all …]
|
D | nv50_tex.c | 253 BEGIN_NV04(push, NV50_3D(BIND_TIC(s)), 1); in nv50_validate_tic() 292 BEGIN_NV04(push, NV50_3D(TEX_CACHE_CTL), 1); in nv50_validate_tic() 303 BEGIN_NV04(push, NV50_3D(BIND_TIC(s)), 1); in nv50_validate_tic() 307 BEGIN_NV04(push, NV50_3D(BIND_TIC(s)), 1); in nv50_validate_tic() 311 BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); in nv50_validate_tic() 313 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nv50->num_textures[s] * 2); in nv50_validate_tic() 342 BEGIN_NV04(nv50->base.pushbuf, NV50_3D(TIC_FLUSH), 1); in nv50_validate_textures() 359 BEGIN_NV04(push, NV50_3D(BIND_TSC(s)), 1); in nv50_validate_tsc() 374 BEGIN_NV04(push, NV50_3D(BIND_TSC(s)), 1); in nv50_validate_tsc() 378 BEGIN_NV04(push, NV50_3D(BIND_TSC(s)), 1); in nv50_validate_tsc() [all …]
|
D | nv50_query_hw.c | 91 BEGIN_NV04(push, NV50_3D(QUERY_ADDRESS_HIGH), 4); in nv50_hw_query_get() 166 BEGIN_NV04(push, NV50_3D(COUNTER_RESET), 1); in nv50_hw_begin_query() 168 BEGIN_NV04(push, NV50_3D(SAMPLECNT_ENABLE), 1); in nv50_hw_begin_query() 223 BEGIN_NV04(push, NV50_3D(SAMPLECNT_ENABLE), 1); in nv50_hw_end_query()
|
D | nv50_query.c | 125 BEGIN_NV04(push, NV50_3D(COND_MODE), 1); in nv50_render_condition() 138 BEGIN_NV04(push, NV50_3D(COND_ADDRESS_HIGH), 3); in nv50_render_condition()
|
D | nv50_stateobj.h | 10 (so)->state[(so)->size++] = NV50_FIFO_PKHDR(NV50_3D(m), s)
|
D | nv50_winsys.h | 51 #define NV50_3D(n) SUBC_3D(NV50_3D_##n) macro
|
D | nv50_transfer.c | 390 BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); in nv50_cb_bo_push() 392 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nr); in nv50_cb_bo_push()
|
D | nv50_context.c | 53 BEGIN_NV04(push, NV50_3D(TEX_CACHE_CTL), 1); in nv50_texture_barrier()
|
D | nv50_program.c | 509 BEGIN_NV04(nv50->base.pushbuf, NV50_3D(CODE_CB_FLUSH), 1); in nv50_program_upload_code()
|
D | nv84_video.c | 501 BEGIN_NV04(screen->pushbuf, NV50_3D(QUERY_ADDRESS_HIGH), 4); in nv84_create_decoder()
|