/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_context.c | 68 BEGIN_NV04(push, NV20_3D(CLEAR_VALUE), 1); in nv20_clear() 83 BEGIN_NV04(push, NV20_3D(CLEAR_DEPTH_VALUE), 1); in nv20_clear() 90 BEGIN_NV04(push, NV20_3D(CLEAR_BUFFERS), 1); in nv20_clear() 105 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv20_hwctx_init() 107 BEGIN_NV04(push, NV20_3D(DMA_NOTIFY), 1); in nv20_hwctx_init() 109 BEGIN_NV04(push, NV20_3D(DMA_TEXTURE0), 2); in nv20_hwctx_init() 112 BEGIN_NV04(push, NV20_3D(DMA_COLOR), 2); in nv20_hwctx_init() 115 BEGIN_NV04(push, NV20_3D(DMA_VTXBUF0), 2); in nv20_hwctx_init() 119 BEGIN_NV04(push, NV20_3D(DMA_QUERY), 1); in nv20_hwctx_init() 122 BEGIN_NV04(push, NV20_3D(RT_HORIZ), 2); in nv20_hwctx_init() [all …]
|
D | nv10_context.c | 155 BEGIN_NV04(push, NV17_3D(HIERZ_FILL_VALUE), 1); in nv17_zclear() 157 BEGIN_NV04(push, NV17_3D(HIERZ_BUFFER_CLEAR), 1); in nv17_zclear() 209 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv10_hwctx_init() 211 BEGIN_NV04(push, NV10_3D(DMA_NOTIFY), 1); in nv10_hwctx_init() 214 BEGIN_NV04(push, NV10_3D(DMA_TEXTURE0), 3); in nv10_hwctx_init() 218 BEGIN_NV04(push, NV10_3D(DMA_COLOR), 2); in nv10_hwctx_init() 222 BEGIN_NV04(push, NV04_GRAPH(3D, NOP), 1); in nv10_hwctx_init() 225 BEGIN_NV04(push, NV10_3D(RT_HORIZ), 2); in nv10_hwctx_init() 229 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv10_hwctx_init() 231 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 | 215 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle() 229 BEGIN_NV04(push, NV04_SSWZ(DMA_IMAGE), 1); in nv04_surface_copy_swizzle() 231 BEGIN_NV04(push, NV04_SSWZ(FORMAT), 2); in nv04_surface_copy_swizzle() 237 BEGIN_NV04(push, NV03_SIFM(DMA_IMAGE), 1); in nv04_surface_copy_swizzle() 239 BEGIN_NV04(push, NV05_SIFM(SURFACE), 1); in nv04_surface_copy_swizzle() 242 BEGIN_NV04(push, NV03_SIFM(COLOR_FORMAT), 8); in nv04_surface_copy_swizzle() 252 BEGIN_NV04(push, NV03_SIFM(SIZE), 4); in nv04_surface_copy_swizzle() 264 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle() 293 BEGIN_NV04(push, NV03_M2MF(DMA_BUFFER_IN), 2); in nv04_surface_copy_m2mf() 296 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 | 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 | nv20_state_tex.c | 52 BEGIN_NV04(push, NV20_3D(TEX_GEN_COEFF(i, j)), 4); in nv20_emit_tex_gen() 56 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 60 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 75 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 78 BEGIN_NV04(push, NV20_3D(TEX_MATRIX(i,0)), 16); in nv20_emit_tex_mat() 82 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 175 BEGIN_NV04(push, NV20_3D(TEX_ENABLE(i)), 1); in nv20_emit_tex_obj() 243 BEGIN_NV04(push, NV20_3D(TEX_NPOT_PITCH(i)), 1); in nv20_emit_tex_obj() 245 BEGIN_NV04(push, NV20_3D(TEX_NPOT_SIZE(i)), 1); in nv20_emit_tex_obj() 271 BEGIN_NV04(push, NV20_3D(TEX_FORMAT(i)), 1); in nv20_emit_tex_obj() [all …]
|
D | nv10_state_tex.c | 52 BEGIN_NV04(push, NV10_3D(TEX_GEN_COEFF(i, j)), 4); in nv10_emit_tex_gen() 56 BEGIN_NV04(push, NV10_3D(TEX_GEN_MODE(i,j)), 1); in nv10_emit_tex_gen() 60 BEGIN_NV04(push, NV10_3D(TEX_GEN_MODE(i,j)), 1); in nv10_emit_tex_gen() 78 BEGIN_NV04(push, NV10_3D(TEX_MATRIX_ENABLE(i)), 1); in nv10_emit_tex_mat() 81 BEGIN_NV04(push, NV10_3D(TEX_MATRIX(i, 0)), 16); in nv10_emit_tex_mat() 85 BEGIN_NV04(push, NV10_3D(TEX_MATRIX_ENABLE(i)), 1); in nv10_emit_tex_mat() 170 BEGIN_NV04(push, NV10_3D(TEX_ENABLE(i)), 1); in nv10_emit_tex_obj() 197 BEGIN_NV04(push, NV10_3D(TEX_NPOT_PITCH(i)), 1); in nv10_emit_tex_obj() 199 BEGIN_NV04(push, NV10_3D(TEX_NPOT_SIZE(i)), 1); in nv10_emit_tex_obj() 225 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 | 640 BEGIN_NV04(push, SUBC_M2MF(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 642 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_DMA_NOTIFY), 3); in nv50_screen_init_hwctx() 647 BEGIN_NV04(push, SUBC_2D(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 649 BEGIN_NV04(push, NV50_2D(DMA_NOTIFY), 4); in nv50_screen_init_hwctx() 654 BEGIN_NV04(push, NV50_2D(OPERATION), 1); in nv50_screen_init_hwctx() 656 BEGIN_NV04(push, NV50_2D(CLIP_ENABLE), 1); in nv50_screen_init_hwctx() 658 BEGIN_NV04(push, NV50_2D(COLOR_KEY_ENABLE), 1); in nv50_screen_init_hwctx() 660 BEGIN_NV04(push, NV50_2D(SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP), 1); in nv50_screen_init_hwctx() 662 BEGIN_NV04(push, NV50_2D(COND_MODE), 1); in nv50_screen_init_hwctx() 665 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() 234 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 | 154 BEGIN_NV04(push, NV50_3D(VTX_ATTR_4F_X(attr)), 4); in nv50_emit_vtxattr() 161 BEGIN_NV04(push, NV50_3D(VTX_ATTR_3F_X(attr)), 3); in nv50_emit_vtxattr() 167 BEGIN_NV04(push, NV50_3D(VTX_ATTR_2F_X(attr)), 2); in nv50_emit_vtxattr() 173 BEGIN_NV04(push, NV50_3D(EDGEFLAG), 1); in nv50_emit_vtxattr() 176 BEGIN_NV04(push, NV50_3D(VTX_ATTR_1F(attr)), 1); in nv50_emit_vtxattr() 265 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nv50_update_user_vbufs() 268 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_START_HIGH(i)), 2); in nv50_update_user_vbufs() 320 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_ATTRIB(0)), n); in nv50_vertex_arrays_validate() 328 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_FETCH(i)), 1); in nv50_vertex_arrays_validate() 353 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 | 161 BEGIN_NV04(push[0], SUBC_BSP(NV01_SUBCHAN_OBJECT), 1); in nv98_create_decoder() 164 BEGIN_NV04(push[0], SUBC_BSP(0x180), 5); in nv98_create_decoder() 168 BEGIN_NV04(push[1], SUBC_VP(NV01_SUBCHAN_OBJECT), 1); in nv98_create_decoder() 171 BEGIN_NV04(push[1], SUBC_VP(0x180), 6); in nv98_create_decoder() 175 BEGIN_NV04(push[2], SUBC_PPP(NV01_SUBCHAN_OBJECT), 1); in nv98_create_decoder() 178 BEGIN_NV04(push[2], SUBC_PPP(0x180), 5); in nv98_create_decoder() 251 BEGIN_NV04(push[0], SUBC_BSP(0x200), 2); in nv98_create_decoder() 255 BEGIN_NV04(push[1], SUBC_VP(0x200), 2); in nv98_create_decoder() 259 BEGIN_NV04(push[2], SUBC_PPP(0x200), 2); in nv98_create_decoder() 279 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 | 689 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv30_screen_create() 691 BEGIN_NV04(push, NV30_3D(DMA_NOTIFY), 13); in nv30_screen_create() 706 BEGIN_NV04(push, SUBC_3D(0x03b0), 1); in nv30_screen_create() 708 BEGIN_NV04(push, SUBC_3D(0x1d80), 1); in nv30_screen_create() 711 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv30_screen_create() 713 BEGIN_NV04(push, SUBC_3D(0x17e0), 3); in nv30_screen_create() 717 BEGIN_NV04(push, SUBC_3D(0x1f80), 16); in nv30_screen_create() 721 BEGIN_NV04(push, NV30_3D(RC_ENABLE), 1); in nv30_screen_create() 724 BEGIN_NV04(push, NV40_3D(DMA_COLOR2), 2); in nv30_screen_create() 728 BEGIN_NV04(push, SUBC_3D(0x1450), 1); in nv30_screen_create() [all …]
|
D | nv30_vbo.c | 54 BEGIN_NV04(push, NV30_3D(VTX_ATTR_4F(attr)), 4); in nv30_emit_vtxattr() 61 BEGIN_NV04(push, NV30_3D(VTX_ATTR_3F(attr)), 3); in nv30_emit_vtxattr() 67 BEGIN_NV04(push, NV30_3D(VTX_ATTR_2F(attr)), 2); in nv30_emit_vtxattr() 72 BEGIN_NV04(push, NV30_3D(VTX_ATTR_1F(attr)), 1); in nv30_emit_vtxattr() 157 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_update_user_vbufs() 211 BEGIN_NV04(push, NV30_3D(VTXFMT(0)), redefine); 246 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); 344 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); 363 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); 374 BEGIN_NV04(push, NV30_3D(VB_ELEMENT_U32), 1); [all …]
|