/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_context.c | 67 BEGIN_NV04(push, NV20_3D(CLEAR_VALUE), 1); in nv20_clear() 82 BEGIN_NV04(push, NV20_3D(CLEAR_DEPTH_VALUE), 1); in nv20_clear() 89 BEGIN_NV04(push, NV20_3D(CLEAR_BUFFERS), 1); in nv20_clear() 104 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv20_hwctx_init() 106 BEGIN_NV04(push, NV20_3D(DMA_NOTIFY), 1); in nv20_hwctx_init() 108 BEGIN_NV04(push, NV20_3D(DMA_TEXTURE0), 2); in nv20_hwctx_init() 111 BEGIN_NV04(push, NV20_3D(DMA_COLOR), 2); in nv20_hwctx_init() 114 BEGIN_NV04(push, NV20_3D(DMA_VTXBUF0), 2); in nv20_hwctx_init() 118 BEGIN_NV04(push, NV20_3D(DMA_QUERY), 1); in nv20_hwctx_init() 121 BEGIN_NV04(push, NV20_3D(RT_HORIZ), 2); in nv20_hwctx_init() [all …]
|
D | nv10_context.c | 154 BEGIN_NV04(push, NV17_3D(HIERZ_FILL_VALUE), 1); in nv17_zclear() 156 BEGIN_NV04(push, NV17_3D(HIERZ_BUFFER_CLEAR), 1); in nv17_zclear() 208 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv10_hwctx_init() 210 BEGIN_NV04(push, NV10_3D(DMA_NOTIFY), 1); in nv10_hwctx_init() 213 BEGIN_NV04(push, NV10_3D(DMA_TEXTURE0), 3); in nv10_hwctx_init() 217 BEGIN_NV04(push, NV10_3D(DMA_COLOR), 2); in nv10_hwctx_init() 221 BEGIN_NV04(push, NV04_GRAPH(3D, NOP), 1); in nv10_hwctx_init() 224 BEGIN_NV04(push, NV10_3D(RT_HORIZ), 2); in nv10_hwctx_init() 228 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv10_hwctx_init() 230 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_VERT(0)), 1); in nv10_hwctx_init() [all …]
|
D | nv10_state_raster.c | 42 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_ENABLE), 1); in nv10_emit_alpha_func() 45 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_FUNC), 2); in nv10_emit_alpha_func() 55 BEGIN_NV04(push, NV10_3D(BLEND_COLOR), 1); in nv10_emit_blend_color() 67 BEGIN_NV04(push, NV10_3D(BLEND_FUNC_ENABLE), 1); in nv10_emit_blend_equation() 70 BEGIN_NV04(push, NV10_3D(BLEND_EQUATION), 1); in nv10_emit_blend_equation() 79 BEGIN_NV04(push, NV10_3D(BLEND_FUNC_SRC), 2); in nv10_emit_blend_func() 89 BEGIN_NV04(push, NV10_3D(COLOR_MASK), 1); in nv10_emit_color_mask() 102 BEGIN_NV04(push, NV10_3D(DEPTH_TEST_ENABLE), 1); in nv10_emit_depth() 104 BEGIN_NV04(push, NV10_3D(DEPTH_WRITE_ENABLE), 1); in nv10_emit_depth() 106 BEGIN_NV04(push, NV10_3D(DEPTH_FUNC), 1); in nv10_emit_depth() [all …]
|
D | nv04_surface.c | 219 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle() 233 BEGIN_NV04(push, NV04_SSWZ(DMA_IMAGE), 1); in nv04_surface_copy_swizzle() 235 BEGIN_NV04(push, NV04_SSWZ(FORMAT), 2); in nv04_surface_copy_swizzle() 241 BEGIN_NV04(push, NV03_SIFM(DMA_IMAGE), 1); in nv04_surface_copy_swizzle() 243 BEGIN_NV04(push, NV05_SIFM(SURFACE), 1); in nv04_surface_copy_swizzle() 246 BEGIN_NV04(push, NV03_SIFM(COLOR_FORMAT), 8); in nv04_surface_copy_swizzle() 256 BEGIN_NV04(push, NV03_SIFM(SIZE), 4); in nv04_surface_copy_swizzle() 268 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle() 297 BEGIN_NV04(push, NV03_M2MF(DMA_BUFFER_IN), 2); in nv04_surface_copy_m2mf() 300 BEGIN_NV04(push, NV03_M2MF(OFFSET_IN), 8); in nv04_surface_copy_m2mf() [all …]
|
D | nv10_state_polygon.c | 40 BEGIN_NV04(push, NV10_3D(CULL_FACE_ENABLE), 1); in nv10_emit_cull_face() 43 BEGIN_NV04(push, NV10_3D(CULL_FACE), 1); in nv10_emit_cull_face() 54 BEGIN_NV04(push, NV10_3D(FRONT_FACE), 1); in nv10_emit_front_face() 66 BEGIN_NV04(push, NV10_3D(LINE_WIDTH), 1); in nv10_emit_line_mode() 69 BEGIN_NV04(push, NV10_3D(LINE_SMOOTH_ENABLE), 1); in nv10_emit_line_mode() 83 BEGIN_NV04(push, NV10_3D(POINT_SIZE), 1); in nv10_emit_point_mode() 86 BEGIN_NV04(push, NV10_3D(POINT_SMOOTH_ENABLE), 1); in nv10_emit_point_mode() 95 BEGIN_NV04(push, NV10_3D(POLYGON_MODE_FRONT), 2); in nv10_emit_polygon_mode() 99 BEGIN_NV04(push, NV10_3D(POLYGON_SMOOTH_ENABLE), 1); in nv10_emit_polygon_mode() 108 BEGIN_NV04(push, NV10_3D(POLYGON_OFFSET_POINT_ENABLE), 3); in nv10_emit_polygon_offset() [all …]
|
D | nv10_state_tnl.c | 63 BEGIN_NV04(push, NV10_3D(COLOR_MATERIAL), 1); in nv10_emit_color_material() 144 BEGIN_NV04(push, NV10_3D(FOG_MODE), 4); in nv10_emit_fog() 150 BEGIN_NV04(push, NV10_3D(FOG_COEFF(0)), 3); in nv10_emit_fog() 180 BEGIN_NV04(push, NV10_3D(LIGHTING_ENABLE), 1); in nv10_emit_light_enable() 188 BEGIN_NV04(push, NV10_3D(ENABLED_LIGHTS), 1); in nv10_emit_light_enable() 190 BEGIN_NV04(push, NV10_3D(LIGHTING_ENABLE), 1); in nv10_emit_light_enable() 192 BEGIN_NV04(push, NV10_3D(NORMALIZE_ENABLE), 1); in nv10_emit_light_enable() 202 BEGIN_NV04(push, NV10_3D(SEPARATE_SPECULAR_ENABLE), 1); in nv10_emit_light_model() 205 BEGIN_NV04(push, NV10_3D(LIGHT_MODEL), 1); in nv10_emit_light_model() 289 BEGIN_NV04(push, NV10_3D(LIGHT_POSITION_X(i)), 3); in nv10_emit_light_source() [all …]
|
D | nv20_state_tnl.c | 95 BEGIN_NV04(push, NV20_3D(COLOR_MATERIAL), 1); in nv20_emit_color_material() 163 BEGIN_NV04(push, NV20_3D(FOG_MODE), 4); in nv20_emit_fog() 172 BEGIN_NV04(push, NV20_3D(FOG_COEFF(0)), 3); in nv20_emit_fog() 182 BEGIN_NV04(push, NV20_3D(SEPARATE_SPECULAR_ENABLE), 1); in nv20_emit_light_model() 185 BEGIN_NV04(push, NV20_3D(LIGHT_MODEL), 1); in nv20_emit_light_model() 193 BEGIN_NV04(push, NV20_3D(LIGHT_MODEL_TWO_SIDE_ENABLE), 1); in nv20_emit_light_model() 205 BEGIN_NV04(push, NV20_3D(LIGHT_POSITION_X(i)), 3); in nv20_emit_light_source() 208 BEGIN_NV04(push, NV20_3D(LIGHT_ATTENUATION_CONSTANT(i)), 3); in nv20_emit_light_source() 214 BEGIN_NV04(push, NV20_3D(LIGHT_DIRECTION_X(i)), 3); in nv20_emit_light_source() 217 BEGIN_NV04(push, NV20_3D(LIGHT_HALF_VECTOR_X(i)), 3); in nv20_emit_light_source() [all …]
|
D | nv20_state_tex.c | 51 BEGIN_NV04(push, NV20_3D(TEX_GEN_COEFF(i, j)), 4); in nv20_emit_tex_gen() 55 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 59 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 74 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 77 BEGIN_NV04(push, NV20_3D(TEX_MATRIX(i,0)), 16); in nv20_emit_tex_mat() 81 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 173 BEGIN_NV04(push, NV20_3D(TEX_ENABLE(i)), 1); in nv20_emit_tex_obj() 208 BEGIN_NV04(push, NV20_3D(TEX_NPOT_PITCH(i)), 1); in nv20_emit_tex_obj() 210 BEGIN_NV04(push, NV20_3D(TEX_NPOT_SIZE(i)), 1); in nv20_emit_tex_obj() 236 BEGIN_NV04(push, NV20_3D(TEX_FORMAT(i)), 1); in nv20_emit_tex_obj() [all …]
|
D | nv10_state_fb.c | 76 BEGIN_NV04(push, NV17_3D(HIERZ_OFFSET), 1); in setup_hierz_buffer() 79 BEGIN_NV04(push, NV17_3D(HIERZ_WINDOW_X), 4); in setup_hierz_buffer() 85 BEGIN_NV04(push, NV17_3D(HIERZ_PITCH), 1); in setup_hierz_buffer() 88 BEGIN_NV04(push, NV17_3D(HIERZ_ENABLE), 1); in setup_hierz_buffer() 113 BEGIN_NV04(push, NV04_GRAPH(3D, NOP), 1); in nv10_emit_framebuffer() 126 BEGIN_NV04(push, NV10_3D(COLOR_OFFSET), 1); in nv10_emit_framebuffer() 139 BEGIN_NV04(push, NV10_3D(ZETA_OFFSET), 1); in nv10_emit_framebuffer() 149 BEGIN_NV04(push, NV10_3D(RT_FORMAT), 2); in nv10_emit_framebuffer() 171 BEGIN_NV04(push, NV10_3D(RT_HORIZ), 2); in nv10_emit_scissor() 190 BEGIN_NV04(push, NV10_3D(VIEWPORT_TRANSLATE_X), 4); in nv10_emit_viewport() [all …]
|
D | nv10_state_tex.c | 51 BEGIN_NV04(push, NV10_3D(TEX_GEN_COEFF(i, j)), 4); in nv10_emit_tex_gen() 55 BEGIN_NV04(push, NV10_3D(TEX_GEN_MODE(i,j)), 1); in nv10_emit_tex_gen() 59 BEGIN_NV04(push, NV10_3D(TEX_GEN_MODE(i,j)), 1); in nv10_emit_tex_gen() 77 BEGIN_NV04(push, NV10_3D(TEX_MATRIX_ENABLE(i)), 1); in nv10_emit_tex_mat() 80 BEGIN_NV04(push, NV10_3D(TEX_MATRIX(i, 0)), 16); in nv10_emit_tex_mat() 84 BEGIN_NV04(push, NV10_3D(TEX_MATRIX_ENABLE(i)), 1); in nv10_emit_tex_mat() 169 BEGIN_NV04(push, NV10_3D(TEX_ENABLE(i)), 1); in nv10_emit_tex_obj() 196 BEGIN_NV04(push, NV10_3D(TEX_NPOT_PITCH(i)), 1); in nv10_emit_tex_obj() 198 BEGIN_NV04(push, NV10_3D(TEX_NPOT_SIZE(i)), 1); in nv10_emit_tex_obj() 224 BEGIN_NV04(push, NV10_3D(TEX_FORMAT(i)), 1); in nv10_emit_tex_obj() [all …]
|
D | nv20_state_frag.c | 42 BEGIN_NV04(push, NV20_3D(RC_IN_ALPHA(i)), 1); in nv20_emit_tex_env() 44 BEGIN_NV04(push, NV20_3D(RC_OUT_ALPHA(i)), 1); in nv20_emit_tex_env() 46 BEGIN_NV04(push, NV20_3D(RC_IN_RGB(i)), 1); in nv20_emit_tex_env() 48 BEGIN_NV04(push, NV20_3D(RC_OUT_RGB(i)), 1); in nv20_emit_tex_env() 50 BEGIN_NV04(push, NV20_3D(RC_CONSTANT_COLOR0(i)), 1); in nv20_emit_tex_env() 65 BEGIN_NV04(push, NV20_3D(RC_FINAL0), 2); in nv20_emit_frag() 69 BEGIN_NV04(push, NV20_3D(RC_ENABLE), 1); in nv20_emit_frag()
|
D | nv20_state_fb.c | 70 BEGIN_NV04(push, NV25_3D(HIERZ_PITCH), 1); in setup_hierz_buffer() 72 BEGIN_NV04(push, NV25_3D(HIERZ_OFFSET), 1); in setup_hierz_buffer() 100 BEGIN_NV04(push, NV20_3D(COLOR_OFFSET), 1); in nv20_emit_framebuffer() 113 BEGIN_NV04(push, NV20_3D(ZETA_OFFSET), 1); in nv20_emit_framebuffer() 124 BEGIN_NV04(push, NV20_3D(RT_FORMAT), 2); in nv20_emit_framebuffer() 143 BEGIN_NV04(push, NV20_3D(VIEWPORT_TRANSLATE_X), 4); in nv20_emit_viewport() 146 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv20_emit_viewport() 148 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_VERT(0)), 1); in nv20_emit_viewport()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_compute.c | 70 BEGIN_NV04(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_compute_setup() 73 BEGIN_NV04(push, NV50_CP(UNK02A0), 1); in nv50_screen_compute_setup() 75 BEGIN_NV04(push, NV50_CP(DMA_STACK), 1); in nv50_screen_compute_setup() 77 BEGIN_NV04(push, NV50_CP(STACK_ADDRESS_HIGH), 2); in nv50_screen_compute_setup() 80 BEGIN_NV04(push, NV50_CP(STACK_SIZE_LOG), 1); in nv50_screen_compute_setup() 83 BEGIN_NV04(push, NV50_CP(UNK0290), 1); in nv50_screen_compute_setup() 85 BEGIN_NV04(push, NV50_CP(LANES32_ENABLE), 1); in nv50_screen_compute_setup() 87 BEGIN_NV04(push, NV50_CP(REG_MODE), 1); in nv50_screen_compute_setup() 89 BEGIN_NV04(push, NV50_CP(UNK0384), 1); in nv50_screen_compute_setup() 91 BEGIN_NV04(push, NV50_CP(DMA_GLOBAL), 1); in nv50_screen_compute_setup() [all …]
|
D | nv50_screen.c | 528 BEGIN_NV04(push, SUBC_M2MF(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 530 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_DMA_NOTIFY), 3); in nv50_screen_init_hwctx() 535 BEGIN_NV04(push, SUBC_2D(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 537 BEGIN_NV04(push, NV50_2D(DMA_NOTIFY), 4); in nv50_screen_init_hwctx() 542 BEGIN_NV04(push, NV50_2D(OPERATION), 1); in nv50_screen_init_hwctx() 544 BEGIN_NV04(push, NV50_2D(CLIP_ENABLE), 1); in nv50_screen_init_hwctx() 546 BEGIN_NV04(push, NV50_2D(COLOR_KEY_ENABLE), 1); in nv50_screen_init_hwctx() 548 BEGIN_NV04(push, SUBC_2D(0x0888), 1); in nv50_screen_init_hwctx() 550 BEGIN_NV04(push, NV50_2D(COND_MODE), 1); in nv50_screen_init_hwctx() 553 BEGIN_NV04(push, SUBC_3D(NV01_SUBCHAN_OBJECT), 1); 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() 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() 230 BEGIN_NV04(push, NV50_3D(FP_REG_ALLOC_TEMP), 1); in nv50_fragprog_validate() [all …]
|
D | nv50_surface.c | 115 BEGIN_NV04(push, SUBC_2D(mthd), 2); in nv50_2d_texture_set() 118 BEGIN_NV04(push, SUBC_2D(mthd + 0x14), 5); in nv50_2d_texture_set() 125 BEGIN_NV04(push, SUBC_2D(mthd), 5); in nv50_2d_texture_set() 131 BEGIN_NV04(push, SUBC_2D(mthd + 0x18), 4); in nv50_2d_texture_set() 140 BEGIN_NV04(push, SUBC_2D(NV50_2D_CLIP_X), 4); in nv50_2d_texture_set() 174 BEGIN_NV04(push, NV50_2D(BLIT_CONTROL), 1); in nv50_2d_texture_do_copy() 176 BEGIN_NV04(push, NV50_2D(BLIT_DST_X), 4); in nv50_2d_texture_do_copy() 181 BEGIN_NV04(push, NV50_2D(BLIT_DU_DX_FRACT), 4); in nv50_2d_texture_do_copy() 186 BEGIN_NV04(push, NV50_2D(BLIT_SRC_X_FRACT), 4); in nv50_2d_texture_do_copy() 292 BEGIN_NV04(push, NV50_3D(CLEAR_COLOR(0)), 4); in nv50_clear_render_target() [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() 329 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_ATTRIB(0)), n); in nv50_vertex_arrays_validate() 337 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_FETCH(i)), 1); in nv50_vertex_arrays_validate() 362 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 | nv98_video.c | 160 BEGIN_NV04(push[0], SUBC_BSP(NV01_SUBCHAN_OBJECT), 1); in nv98_create_decoder() 163 BEGIN_NV04(push[0], SUBC_BSP(0x180), 5); in nv98_create_decoder() 167 BEGIN_NV04(push[1], SUBC_VP(NV01_SUBCHAN_OBJECT), 1); in nv98_create_decoder() 170 BEGIN_NV04(push[1], SUBC_VP(0x180), 6); in nv98_create_decoder() 174 BEGIN_NV04(push[2], SUBC_PPP(NV01_SUBCHAN_OBJECT), 1); in nv98_create_decoder() 177 BEGIN_NV04(push[2], SUBC_PPP(0x180), 5); in nv98_create_decoder() 250 BEGIN_NV04(push[0], SUBC_BSP(0x200), 2); in nv98_create_decoder() 254 BEGIN_NV04(push[1], SUBC_VP(0x200), 2); in nv98_create_decoder() 258 BEGIN_NV04(push[2], SUBC_PPP(0x200), 2); in nv98_create_decoder() 278 BEGIN_NV04(push[0], SUBC_BSP(0x240), 3); in nv98_create_decoder() [all …]
|
D | nv50_transfer.c | 77 BEGIN_NV04(push, NV50_M2MF(LINEAR_IN), 6); in nv50_m2mf_transfer_rect() 87 BEGIN_NV04(push, NV50_M2MF(LINEAR_IN), 1); in nv50_m2mf_transfer_rect() 89 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_PITCH_IN), 1); in nv50_m2mf_transfer_rect() 94 BEGIN_NV04(push, NV50_M2MF(LINEAR_OUT), 6); in nv50_m2mf_transfer_rect() 104 BEGIN_NV04(push, NV50_M2MF(LINEAR_OUT), 1); in nv50_m2mf_transfer_rect() 106 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_PITCH_OUT), 1); in nv50_m2mf_transfer_rect() 113 BEGIN_NV04(push, NV50_M2MF(OFFSET_IN_HIGH), 2); in nv50_m2mf_transfer_rect() 117 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_OFFSET_IN), 2); in nv50_m2mf_transfer_rect() 122 BEGIN_NV04(push, NV50_M2MF(TILING_POSITION_IN), 1); in nv50_m2mf_transfer_rect() 128 BEGIN_NV04(push, NV50_M2MF(TILING_POSITION_OUT), 1); in nv50_m2mf_transfer_rect() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_transfer.c | 92 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_transfer_rect_vertprog() 94 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 99 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 198 BEGIN_NV04(push, NV30_3D(VIEWPORT_HORIZ), 2); in nv30_transfer_rect_blit() 201 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 5); in nv30_transfer_rect_blit() 207 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_transfer_rect_blit() 213 BEGIN_NV04(push, NV30_3D(VIEWPORT_TRANSLATE_X), 8); in nv30_transfer_rect_blit() 222 BEGIN_NV04(push, NV30_3D(DEPTH_RANGE_NEAR), 2); in nv30_transfer_rect_blit() 229 BEGIN_NV04(push, NV30_3D(COLOR_LOGIC_OP_ENABLE), 1); in nv30_transfer_rect_blit() 231 BEGIN_NV04(push, NV30_3D(DITHER_ENABLE), 1); in nv30_transfer_rect_blit() [all …]
|
D | nv30_state_validate.c | 104 BEGIN_NV04(push, SUBC_3D(0x1da4), 1); in nv30_validate_fb() 106 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_validate_fb() 110 BEGIN_NV04(push, NV30_3D(VIEWPORT_TX_ORIGIN), 4); in nv30_validate_fb() 127 BEGIN_NV04(push, NV40_3D(ZETA_PITCH), 1); in nv30_validate_fb() 129 BEGIN_NV04(push, NV40_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 132 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 145 BEGIN_NV04(push, NV30_3D(COLOR1_OFFSET), 2); in nv30_validate_fb() 155 BEGIN_NV04(push, NV40_3D(COLOR2_OFFSET), 1); in nv30_validate_fb() 158 BEGIN_NV04(push, NV40_3D(COLOR2_PITCH), 1); in nv30_validate_fb() 166 BEGIN_NV04(push, NV40_3D(COLOR3_OFFSET), 1); in nv30_validate_fb() [all …]
|
D | nv30_clear.c | 78 BEGIN_NV04(push, NV30_3D(STENCIL_ENABLE(0)), 2); in nv30_clear() 87 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 93 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 135 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_render_target() 137 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_render_target() 141 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 2); in nv30_clear_render_target() 147 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear_render_target() 151 BEGIN_NV04(push, NV30_3D(CLEAR_COLOR_VALUE), 2); in nv30_clear_render_target() 200 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_depth_stencil() 202 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_depth_stencil() [all …]
|
D | nv30_screen.c | 617 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv30_screen_create() 619 BEGIN_NV04(push, NV30_3D(DMA_NOTIFY), 13); in nv30_screen_create() 634 BEGIN_NV04(push, SUBC_3D(0x03b0), 1); in nv30_screen_create() 636 BEGIN_NV04(push, SUBC_3D(0x1d80), 1); in nv30_screen_create() 639 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv30_screen_create() 641 BEGIN_NV04(push, SUBC_3D(0x17e0), 3); in nv30_screen_create() 645 BEGIN_NV04(push, SUBC_3D(0x1f80), 16); in nv30_screen_create() 649 BEGIN_NV04(push, NV30_3D(RC_ENABLE), 1); in nv30_screen_create() 652 BEGIN_NV04(push, NV40_3D(DMA_COLOR2), 2); in nv30_screen_create() 656 BEGIN_NV04(push, SUBC_3D(0x1450), 1); in nv30_screen_create() [all …]
|
D | nv30_vbo.c | 55 BEGIN_NV04(push, NV30_3D(VTX_ATTR_4F(attr)), 4); in nv30_emit_vtxattr() 62 BEGIN_NV04(push, NV30_3D(VTX_ATTR_3F(attr)), 3); in nv30_emit_vtxattr() 68 BEGIN_NV04(push, NV30_3D(VTX_ATTR_2F(attr)), 2); in nv30_emit_vtxattr() 73 BEGIN_NV04(push, NV30_3D(VTX_ATTR_1F(attr)), 1); in nv30_emit_vtxattr() 158 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_update_user_vbufs() 212 BEGIN_NV04(push, NV30_3D(VTXFMT(0)), redefine); 247 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); 345 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); 364 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); 375 BEGIN_NV04(push, NV30_3D(VB_ELEMENT_U32), 1); [all …]
|