Lines Matching refs:cb
1136 struct pipe_constant_buffer cb; in evergreen_set_clip_state() local
1162 cb.buffer = NULL; in evergreen_set_clip_state()
1163 cb.user_buffer = state->ucp; in evergreen_set_clip_state()
1164 cb.buffer_offset = 0; in evergreen_set_clip_state()
1165 cb.buffer_size = 4*4*8; in evergreen_set_clip_state()
1166 r600_set_constant_buffer(ctx, PIPE_SHADER_VERTEX, 1, &cb); in evergreen_set_clip_state()
1167 pipe_resource_reference(&cb.buffer, NULL); in evergreen_set_clip_state()
2017 struct pipe_constant_buffer *cb; in evergreen_emit_constant_buffers() local
2022 cb = &state->cb[buffer_index]; in evergreen_emit_constant_buffers()
2023 rbuffer = (struct r600_resource*)cb->buffer; in evergreen_emit_constant_buffers()
2027 va += cb->buffer_offset; in evergreen_emit_constant_buffers()
2030 ALIGN_DIVUP(cb->buffer_size >> 4, 16)); in evergreen_emit_constant_buffers()
2039 r600_write_value(cs, rbuffer->buf->size - cb->buffer_offset - 1); /* RESOURCEi_WORD1 */ in evergreen_emit_constant_buffers()
2240 struct r600_command_buffer *cb = &rctx->start_cs_cmd; in cayman_init_atom_start_cs() local
2242 r600_init_command_buffer(cb, 256, EMIT_EARLY); in cayman_init_atom_start_cs()
2245 r600_store_value(cb, PKT3(PKT3_CONTEXT_CONTROL, 1, 0)); in cayman_init_atom_start_cs()
2246 r600_store_value(cb, 0x80000000); in cayman_init_atom_start_cs()
2247 r600_store_value(cb, 0x80000000); in cayman_init_atom_start_cs()
2249 r600_store_config_reg_seq(cb, R_008C00_SQ_CONFIG, 2); in cayman_init_atom_start_cs()
2250 r600_store_value(cb, S_008C00_EXPORT_SRC_C(1)); /* R_008C00_SQ_CONFIG */ in cayman_init_atom_start_cs()
2252 r600_store_value(cb, S_008C04_NUM_CLAUSE_TEMP_GPRS(4)); /* R_008C04_SQ_GPR_RESOURCE_MGMT_1 */ in cayman_init_atom_start_cs()
2254 r600_store_config_reg_seq(cb, R_008C10_SQ_GLOBAL_GPR_RESOURCE_MGMT_1, 2); in cayman_init_atom_start_cs()
2255 r600_store_value(cb, 0); /* R_008C10_SQ_GLOBAL_GPR_RESOURCE_MGMT_1 */ in cayman_init_atom_start_cs()
2256 r600_store_value(cb, 0); /* R_008C14_SQ_GLOBAL_GPR_RESOURCE_MGMT_2 */ in cayman_init_atom_start_cs()
2258 r600_store_config_reg(cb, R_008D8C_SQ_DYN_GPR_CNTL_PS_FLUSH_REQ, (1 << 8)); in cayman_init_atom_start_cs()
2260 r600_store_context_reg(cb, R_028A4C_PA_SC_MODE_CNTL_1, 0); in cayman_init_atom_start_cs()
2262 r600_store_context_reg_seq(cb, R_028A10_VGT_OUTPUT_PATH_CNTL, 13); in cayman_init_atom_start_cs()
2263 r600_store_value(cb, 0); /* R_028A10_VGT_OUTPUT_PATH_CNTL */ in cayman_init_atom_start_cs()
2264 r600_store_value(cb, 0); /* R_028A14_VGT_HOS_CNTL */ in cayman_init_atom_start_cs()
2265 r600_store_value(cb, 0); /* R_028A18_VGT_HOS_MAX_TESS_LEVEL */ in cayman_init_atom_start_cs()
2266 r600_store_value(cb, 0); /* R_028A1C_VGT_HOS_MIN_TESS_LEVEL */ in cayman_init_atom_start_cs()
2267 r600_store_value(cb, 0); /* R_028A20_VGT_HOS_REUSE_DEPTH */ in cayman_init_atom_start_cs()
2268 r600_store_value(cb, 0); /* R_028A24_VGT_GROUP_PRIM_TYPE */ in cayman_init_atom_start_cs()
2269 r600_store_value(cb, 0); /* R_028A28_VGT_GROUP_FIRST_DECR */ in cayman_init_atom_start_cs()
2270 r600_store_value(cb, 0); /* R_028A2C_VGT_GROUP_DECR */ in cayman_init_atom_start_cs()
2271 r600_store_value(cb, 0); /* R_028A30_VGT_GROUP_VECT_0_CNTL */ in cayman_init_atom_start_cs()
2272 r600_store_value(cb, 0); /* R_028A34_VGT_GROUP_VECT_1_CNTL */ in cayman_init_atom_start_cs()
2273 r600_store_value(cb, 0); /* R_028A38_VGT_GROUP_VECT_0_FMT_CNTL */ in cayman_init_atom_start_cs()
2274 r600_store_value(cb, 0); /* R_028A3C_VGT_GROUP_VECT_1_FMT_CNTL */ in cayman_init_atom_start_cs()
2275 r600_store_value(cb, 0); /* R_028A40_VGT_GS_MODE */ in cayman_init_atom_start_cs()
2277 r600_store_context_reg_seq(cb, R_028B94_VGT_STRMOUT_CONFIG, 2); in cayman_init_atom_start_cs()
2278 r600_store_value(cb, 0); /* R_028B94_VGT_STRMOUT_CONFIG */ in cayman_init_atom_start_cs()
2279 r600_store_value(cb, 0); /* R_028B98_VGT_STRMOUT_BUFFER_CONFIG */ in cayman_init_atom_start_cs()
2281 r600_store_context_reg_seq(cb, R_028AB4_VGT_REUSE_OFF, 2); in cayman_init_atom_start_cs()
2282 r600_store_value(cb, 0); /* R_028AB4_VGT_REUSE_OFF */ in cayman_init_atom_start_cs()
2283 r600_store_value(cb, 0); /* R_028AB8_VGT_VTX_CNT_EN */ in cayman_init_atom_start_cs()
2285 r600_store_config_reg(cb, R_008A14_PA_CL_ENHANCE, (3 << 1) | 1); in cayman_init_atom_start_cs()
2287 …r600_store_context_reg(cb, CM_R_028AA8_IA_MULTI_VGT_PARAM, S_028AA8_SWITCH_ON_EOP(1) | S_028AA8_PA… in cayman_init_atom_start_cs()
2289 r600_store_context_reg_seq(cb, CM_R_028BD4_PA_SC_CENTROID_PRIORITY_0, 2); in cayman_init_atom_start_cs()
2290 r600_store_value(cb, 0x76543210); /* CM_R_028BD4_PA_SC_CENTROID_PRIORITY_0 */ in cayman_init_atom_start_cs()
2291 r600_store_value(cb, 0xfedcba98); /* CM_R_028BD8_PA_SC_CENTROID_PRIORITY_1 */ in cayman_init_atom_start_cs()
2293 r600_store_context_reg_seq(cb, CM_R_0288E8_SQ_LDS_ALLOC, 2); in cayman_init_atom_start_cs()
2294 r600_store_value(cb, 0); /* CM_R_0288E8_SQ_LDS_ALLOC */ in cayman_init_atom_start_cs()
2295 r600_store_value(cb, 0); /* R_0288EC_SQ_LDS_ALLOC_PS */ in cayman_init_atom_start_cs()
2297 r600_store_context_reg_seq(cb, R_028380_SQ_VTX_SEMANTIC_0, 34); in cayman_init_atom_start_cs()
2298 r600_store_value(cb, 0); /* R_028380_SQ_VTX_SEMANTIC_0 */ in cayman_init_atom_start_cs()
2299 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2300 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2301 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2302 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2303 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2304 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2305 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2306 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2307 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2308 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2309 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2310 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2311 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2312 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2313 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2314 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2315 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2316 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2317 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2318 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2319 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2320 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2321 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2322 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2323 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2324 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2325 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2326 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2327 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2328 r600_store_value(cb, 0); in cayman_init_atom_start_cs()
2329 r600_store_value(cb, 0); /* R_0283FC_SQ_VTX_SEMANTIC_31 */ in cayman_init_atom_start_cs()
2330 r600_store_value(cb, ~0); /* R_028400_VGT_MAX_VTX_INDX */ in cayman_init_atom_start_cs()
2331 r600_store_value(cb, 0); /* R_028404_VGT_MIN_VTX_INDX */ in cayman_init_atom_start_cs()
2333 r600_store_ctl_const(cb, R_03CFF0_SQ_VTX_BASE_VTX_LOC, 0); in cayman_init_atom_start_cs()
2335 r600_store_context_reg_seq(cb, R_028028_DB_STENCIL_CLEAR, 2); in cayman_init_atom_start_cs()
2336 r600_store_value(cb, 0); /* R_028028_DB_STENCIL_CLEAR */ in cayman_init_atom_start_cs()
2337 r600_store_value(cb, 0x3F800000); /* R_02802C_DB_DEPTH_CLEAR */ in cayman_init_atom_start_cs()
2339 r600_store_context_reg(cb, R_0286DC_SPI_FOG_CNTL, 0); in cayman_init_atom_start_cs()
2341 r600_store_context_reg_seq(cb, R_028AC0_DB_SRESULTS_COMPARE_STATE0, 3); in cayman_init_atom_start_cs()
2342 r600_store_value(cb, 0); /* R_028AC0_DB_SRESULTS_COMPARE_STATE0 */ in cayman_init_atom_start_cs()
2343 r600_store_value(cb, 0); /* R_028AC4_DB_SRESULTS_COMPARE_STATE1 */ in cayman_init_atom_start_cs()
2344 r600_store_value(cb, 0); /* R_028AC8_DB_PRELOAD_CONTROL */ in cayman_init_atom_start_cs()
2346 r600_store_context_reg(cb, R_028200_PA_SC_WINDOW_OFFSET, 0); in cayman_init_atom_start_cs()
2347 r600_store_context_reg(cb, R_02820C_PA_SC_CLIPRECT_RULE, 0xFFFF); in cayman_init_atom_start_cs()
2349 r600_store_context_reg_seq(cb, R_0282D0_PA_SC_VPORT_ZMIN_0, 2); in cayman_init_atom_start_cs()
2350 r600_store_value(cb, 0); /* R_0282D0_PA_SC_VPORT_ZMIN_0 */ in cayman_init_atom_start_cs()
2351 r600_store_value(cb, 0x3F800000); /* R_0282D4_PA_SC_VPORT_ZMAX_0 */ in cayman_init_atom_start_cs()
2353 r600_store_context_reg(cb, R_028230_PA_SC_EDGERULE, 0xAAAAAAAA); in cayman_init_atom_start_cs()
2354 r600_store_context_reg(cb, R_028818_PA_CL_VTE_CNTL, 0x0000043F); in cayman_init_atom_start_cs()
2355 r600_store_context_reg(cb, R_028820_PA_CL_NANINF_CNTL, 0); in cayman_init_atom_start_cs()
2357 r600_store_context_reg_seq(cb, CM_R_028BE8_PA_CL_GB_VERT_CLIP_ADJ, 4); in cayman_init_atom_start_cs()
2358 r600_store_value(cb, 0x3F800000); /* CM_R_028BE8_PA_CL_GB_VERT_CLIP_ADJ */ in cayman_init_atom_start_cs()
2359 r600_store_value(cb, 0x3F800000); /* CM_R_028BEC_PA_CL_GB_VERT_DISC_ADJ */ in cayman_init_atom_start_cs()
2360 r600_store_value(cb, 0x3F800000); /* CM_R_028BF0_PA_CL_GB_HORZ_CLIP_ADJ */ in cayman_init_atom_start_cs()
2361 r600_store_value(cb, 0x3F800000); /* CM_R_028BF4_PA_CL_GB_HORZ_DISC_ADJ */ in cayman_init_atom_start_cs()
2363 r600_store_context_reg_seq(cb, R_028240_PA_SC_GENERIC_SCISSOR_TL, 2); in cayman_init_atom_start_cs()
2364 r600_store_value(cb, 0); /* R_028240_PA_SC_GENERIC_SCISSOR_TL */ in cayman_init_atom_start_cs()
2365 …r600_store_value(cb, S_028244_BR_X(16384) | S_028244_BR_Y(16384)); /* R_028244_PA_SC_GENERIC_SCISS… in cayman_init_atom_start_cs()
2367 r600_store_context_reg_seq(cb, R_028030_PA_SC_SCREEN_SCISSOR_TL, 2); in cayman_init_atom_start_cs()
2368 r600_store_value(cb, 0); /* R_028030_PA_SC_SCREEN_SCISSOR_TL */ in cayman_init_atom_start_cs()
2369 …r600_store_value(cb, S_028034_BR_X(16384) | S_028034_BR_Y(16384)); /* R_028034_PA_SC_SCREEN_SCISSO… in cayman_init_atom_start_cs()
2371 …r600_store_context_reg(cb, R_028848_SQ_PGM_RESOURCES_2_PS, S_028848_SINGLE_ROUND(V_SQ_ROUND_NEARES… in cayman_init_atom_start_cs()
2372 …r600_store_context_reg(cb, R_028864_SQ_PGM_RESOURCES_2_VS, S_028864_SINGLE_ROUND(V_SQ_ROUND_NEARES… in cayman_init_atom_start_cs()
2373 r600_store_context_reg(cb, R_0288A8_SQ_PGM_RESOURCES_FS, 0); in cayman_init_atom_start_cs()
2375 r600_store_context_reg(cb, R_028354_SX_SURFACE_SYNC, S_028354_SURFACE_SYNC_MASK(0xf)); in cayman_init_atom_start_cs()
2376 r600_store_context_reg(cb, R_028800_DB_DEPTH_CONTROL, 0); in cayman_init_atom_start_cs()
2378 r600_store_context_reg(cb, R_028B28_VGT_STRMOUT_DRAW_OPAQUE_OFFSET, 0); in cayman_init_atom_start_cs()
2381 eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0, 0x01000FFF); in cayman_init_atom_start_cs()
2382 eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (32 * 4), 0x01000FFF); in cayman_init_atom_start_cs()
2385 void evergreen_init_common_regs(struct r600_command_buffer *cb, in evergreen_init_common_regs() argument
2535 r600_store_config_reg_seq(cb, R_008C00_SQ_CONFIG, 2); in evergreen_init_common_regs()
2536 r600_store_value(cb, tmp); /* R_008C00_SQ_CONFIG */ in evergreen_init_common_regs()
2538 …r600_store_value(cb, S_008C04_NUM_CLAUSE_TEMP_GPRS(num_temp_gprs)); /* R_008C04_SQ_GPR_RESOURCE_MG… in evergreen_init_common_regs()
2539 r600_store_config_reg_seq(cb, R_008C10_SQ_GLOBAL_GPR_RESOURCE_MGMT_1, 2); in evergreen_init_common_regs()
2540 r600_store_value(cb, 0); /* R_008C10_SQ_GLOBAL_GPR_RESOURCE_MGMT_1 */ in evergreen_init_common_regs()
2541 r600_store_value(cb, 0); /* R_008C14_SQ_GLOBAL_GPR_RESOURCE_MGMT_2 */ in evergreen_init_common_regs()
2542 r600_store_config_reg(cb, R_008D8C_SQ_DYN_GPR_CNTL_PS_FLUSH_REQ, (1 << 8)); in evergreen_init_common_regs()
2543 r600_store_context_reg(cb, R_028838_SQ_DYN_GPR_RESOURCE_LIMIT_1, in evergreen_init_common_regs()
2551 r600_store_config_reg_seq(cb, R_008C00_SQ_CONFIG, 4); in evergreen_init_common_regs()
2552 r600_store_value(cb, tmp); /* R_008C00_SQ_CONFIG */ in evergreen_init_common_regs()
2557 r600_store_value(cb, tmp); /* R_008C04_SQ_GPR_RESOURCE_MGMT_1 */ in evergreen_init_common_regs()
2561 r600_store_value(cb, tmp); /* R_008C08_SQ_GPR_RESOURCE_MGMT_2 */ in evergreen_init_common_regs()
2565 r600_store_value(cb, tmp); /* R_008C0C_SQ_GPR_RESOURCE_MGMT_3 */ in evergreen_init_common_regs()
2568 r600_store_config_reg(cb, R_008E2C_SQ_LDS_RESOURCE_MGMT, in evergreen_init_common_regs()
2571 r600_store_context_reg(cb, R_028A4C_PA_SC_MODE_CNTL_1, 0); in evergreen_init_common_regs()
2573 r600_store_context_reg_seq(cb, R_028B94_VGT_STRMOUT_CONFIG, 2); in evergreen_init_common_regs()
2574 r600_store_value(cb, 0); /* R_028B94_VGT_STRMOUT_CONFIG */ in evergreen_init_common_regs()
2575 r600_store_value(cb, 0); /* R_028B98_VGT_STRMOUT_BUFFER_CONFIG */ in evergreen_init_common_regs()
2577 r600_store_context_reg(cb, R_028230_PA_SC_EDGERULE, 0xAAAAAAAA); in evergreen_init_common_regs()
2579 r600_store_context_reg_seq(cb, R_0282D0_PA_SC_VPORT_ZMIN_0, 2); in evergreen_init_common_regs()
2580 r600_store_value(cb, 0); /* R_0282D0_PA_SC_VPORT_ZMIN_0 */ in evergreen_init_common_regs()
2581 r600_store_value(cb, 0x3F800000); /* R_0282D4_PA_SC_VPORT_ZMAX_0 */ in evergreen_init_common_regs()
2583 r600_store_context_reg_seq(cb, R_028AC0_DB_SRESULTS_COMPARE_STATE0, 3); in evergreen_init_common_regs()
2584 r600_store_value(cb, 0); /* R_028AC0_DB_SRESULTS_COMPARE_STATE0 */ in evergreen_init_common_regs()
2585 r600_store_value(cb, 0); /* R_028AC4_DB_SRESULTS_COMPARE_STATE1 */ in evergreen_init_common_regs()
2586 r600_store_value(cb, 0); /* R_028AC8_DB_PRELOAD_CONTROL */ in evergreen_init_common_regs()
2588 …r600_store_context_reg(cb, R_028848_SQ_PGM_RESOURCES_2_PS, S_028848_SINGLE_ROUND(V_SQ_ROUND_NEARES… in evergreen_init_common_regs()
2589 …r600_store_context_reg(cb, R_028864_SQ_PGM_RESOURCES_2_VS, S_028864_SINGLE_ROUND(V_SQ_ROUND_NEARES… in evergreen_init_common_regs()
2591 r600_store_context_reg(cb, R_028354_SX_SURFACE_SYNC, S_028354_SURFACE_SYNC_MASK(0xf)); in evergreen_init_common_regs()
2598 struct r600_command_buffer *cb = &rctx->start_cs_cmd; in evergreen_init_atom_start_cs() local
2620 r600_init_command_buffer(cb, 256, EMIT_EARLY); in evergreen_init_atom_start_cs()
2623 r600_store_value(cb, PKT3(PKT3_CONTEXT_CONTROL, 1, 0)); in evergreen_init_atom_start_cs()
2624 r600_store_value(cb, 0x80000000); in evergreen_init_atom_start_cs()
2625 r600_store_value(cb, 0x80000000); in evergreen_init_atom_start_cs()
2627 evergreen_init_common_regs(cb, rctx->chip_class in evergreen_init_atom_start_cs()
2781 r600_store_config_reg_seq(cb, R_008C18_SQ_THREAD_RESOURCE_MGMT_1, 5); in evergreen_init_atom_start_cs()
2782 r600_store_value(cb, tmp); /* R_008C18_SQ_THREAD_RESOURCE_MGMT_1 */ in evergreen_init_atom_start_cs()
2786 r600_store_value(cb, tmp); /* R_008C1C_SQ_THREAD_RESOURCE_MGMT_2 */ in evergreen_init_atom_start_cs()
2790 r600_store_value(cb, tmp); /* R_008C20_SQ_STACK_RESOURCE_MGMT_1 */ in evergreen_init_atom_start_cs()
2794 r600_store_value(cb, tmp); /* R_008C24_SQ_STACK_RESOURCE_MGMT_2 */ in evergreen_init_atom_start_cs()
2798 r600_store_value(cb, tmp); /* R_008C28_SQ_STACK_RESOURCE_MGMT_3 */ in evergreen_init_atom_start_cs()
2800 r600_store_config_reg(cb, R_009100_SPI_CONFIG_CNTL, 0); in evergreen_init_atom_start_cs()
2801 r600_store_config_reg(cb, R_00913C_SPI_CONFIG_CNTL_1, S_00913C_VTX_DONE_DELAY(4)); in evergreen_init_atom_start_cs()
2803 r600_store_context_reg_seq(cb, R_028900_SQ_ESGS_RING_ITEMSIZE, 6); in evergreen_init_atom_start_cs()
2804 r600_store_value(cb, 0); /* R_028900_SQ_ESGS_RING_ITEMSIZE */ in evergreen_init_atom_start_cs()
2805 r600_store_value(cb, 0); /* R_028904_SQ_GSVS_RING_ITEMSIZE */ in evergreen_init_atom_start_cs()
2806 r600_store_value(cb, 0); /* R_028908_SQ_ESTMP_RING_ITEMSIZE */ in evergreen_init_atom_start_cs()
2807 r600_store_value(cb, 0); /* R_02890C_SQ_GSTMP_RING_ITEMSIZE */ in evergreen_init_atom_start_cs()
2808 r600_store_value(cb, 0); /* R_028910_SQ_VSTMP_RING_ITEMSIZE */ in evergreen_init_atom_start_cs()
2809 r600_store_value(cb, 0); /* R_028914_SQ_PSTMP_RING_ITEMSIZE */ in evergreen_init_atom_start_cs()
2811 r600_store_context_reg_seq(cb, R_02891C_SQ_GS_VERT_ITEMSIZE, 4); in evergreen_init_atom_start_cs()
2812 r600_store_value(cb, 0); /* R_02891C_SQ_GS_VERT_ITEMSIZE */ in evergreen_init_atom_start_cs()
2813 r600_store_value(cb, 0); /* R_028920_SQ_GS_VERT_ITEMSIZE_1 */ in evergreen_init_atom_start_cs()
2814 r600_store_value(cb, 0); /* R_028924_SQ_GS_VERT_ITEMSIZE_2 */ in evergreen_init_atom_start_cs()
2815 r600_store_value(cb, 0); /* R_028928_SQ_GS_VERT_ITEMSIZE_3 */ in evergreen_init_atom_start_cs()
2817 r600_store_context_reg_seq(cb, R_028A10_VGT_OUTPUT_PATH_CNTL, 13); in evergreen_init_atom_start_cs()
2818 r600_store_value(cb, 0); /* R_028A10_VGT_OUTPUT_PATH_CNTL */ in evergreen_init_atom_start_cs()
2819 r600_store_value(cb, 0); /* R_028A14_VGT_HOS_CNTL */ in evergreen_init_atom_start_cs()
2820 r600_store_value(cb, 0); /* R_028A18_VGT_HOS_MAX_TESS_LEVEL */ in evergreen_init_atom_start_cs()
2821 r600_store_value(cb, 0); /* R_028A1C_VGT_HOS_MIN_TESS_LEVEL */ in evergreen_init_atom_start_cs()
2822 r600_store_value(cb, 0); /* R_028A20_VGT_HOS_REUSE_DEPTH */ in evergreen_init_atom_start_cs()
2823 r600_store_value(cb, 0); /* R_028A24_VGT_GROUP_PRIM_TYPE */ in evergreen_init_atom_start_cs()
2824 r600_store_value(cb, 0); /* R_028A28_VGT_GROUP_FIRST_DECR */ in evergreen_init_atom_start_cs()
2825 r600_store_value(cb, 0); /* R_028A2C_VGT_GROUP_DECR */ in evergreen_init_atom_start_cs()
2826 r600_store_value(cb, 0); /* R_028A30_VGT_GROUP_VECT_0_CNTL */ in evergreen_init_atom_start_cs()
2827 r600_store_value(cb, 0); /* R_028A34_VGT_GROUP_VECT_1_CNTL */ in evergreen_init_atom_start_cs()
2828 r600_store_value(cb, 0); /* R_028A38_VGT_GROUP_VECT_0_FMT_CNTL */ in evergreen_init_atom_start_cs()
2829 r600_store_value(cb, 0); /* R_028A3C_VGT_GROUP_VECT_1_FMT_CNTL */ in evergreen_init_atom_start_cs()
2830 r600_store_value(cb, 0); /* R_028A40_VGT_GS_MODE */ in evergreen_init_atom_start_cs()
2832 r600_store_context_reg_seq(cb, R_028AB4_VGT_REUSE_OFF, 2); in evergreen_init_atom_start_cs()
2833 r600_store_value(cb, 0); /* R_028AB4_VGT_REUSE_OFF */ in evergreen_init_atom_start_cs()
2834 r600_store_value(cb, 0); /* R_028AB8_VGT_VTX_CNT_EN */ in evergreen_init_atom_start_cs()
2836 r600_store_config_reg(cb, R_008A14_PA_CL_ENHANCE, (3 << 1) | 1); in evergreen_init_atom_start_cs()
2838 r600_store_context_reg_seq(cb, R_028380_SQ_VTX_SEMANTIC_0, 34); in evergreen_init_atom_start_cs()
2839 r600_store_value(cb, 0); /* R_028380_SQ_VTX_SEMANTIC_0 */ in evergreen_init_atom_start_cs()
2840 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2841 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2842 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2843 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2844 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2845 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2846 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2847 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2848 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2849 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2850 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2851 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2852 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2853 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2854 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2855 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2856 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2857 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2858 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2859 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2860 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2861 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2862 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2863 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2864 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2865 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2866 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2867 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2868 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2869 r600_store_value(cb, 0); in evergreen_init_atom_start_cs()
2870 r600_store_value(cb, 0); /* R_0283FC_SQ_VTX_SEMANTIC_31 */ in evergreen_init_atom_start_cs()
2871 r600_store_value(cb, ~0); /* R_028400_VGT_MAX_VTX_INDX */ in evergreen_init_atom_start_cs()
2872 r600_store_value(cb, 0); /* R_028404_VGT_MIN_VTX_INDX */ in evergreen_init_atom_start_cs()
2874 r600_store_ctl_const(cb, R_03CFF0_SQ_VTX_BASE_VTX_LOC, 0); in evergreen_init_atom_start_cs()
2876 r600_store_context_reg_seq(cb, R_028028_DB_STENCIL_CLEAR, 2); in evergreen_init_atom_start_cs()
2877 r600_store_value(cb, 0); /* R_028028_DB_STENCIL_CLEAR */ in evergreen_init_atom_start_cs()
2878 r600_store_value(cb, 0x3F800000); /* R_02802C_DB_DEPTH_CLEAR */ in evergreen_init_atom_start_cs()
2880 r600_store_context_reg(cb, R_028200_PA_SC_WINDOW_OFFSET, 0); in evergreen_init_atom_start_cs()
2881 r600_store_context_reg(cb, R_02820C_PA_SC_CLIPRECT_RULE, 0xFFFF); in evergreen_init_atom_start_cs()
2883 r600_store_context_reg(cb, R_0286DC_SPI_FOG_CNTL, 0); in evergreen_init_atom_start_cs()
2884 r600_store_context_reg(cb, R_028818_PA_CL_VTE_CNTL, 0x0000043F); in evergreen_init_atom_start_cs()
2885 r600_store_context_reg(cb, R_028820_PA_CL_NANINF_CNTL, 0); in evergreen_init_atom_start_cs()
2887 r600_store_context_reg_seq(cb, R_028AC0_DB_SRESULTS_COMPARE_STATE0, 3); in evergreen_init_atom_start_cs()
2888 r600_store_value(cb, 0); /* R_028AC0_DB_SRESULTS_COMPARE_STATE0 */ in evergreen_init_atom_start_cs()
2889 r600_store_value(cb, 0); /* R_028AC4_DB_SRESULTS_COMPARE_STATE1 */ in evergreen_init_atom_start_cs()
2890 r600_store_value(cb, 0); /* R_028AC8_DB_PRELOAD_CONTROL */ in evergreen_init_atom_start_cs()
2892 r600_store_context_reg_seq(cb, R_028C0C_PA_CL_GB_VERT_CLIP_ADJ, 4); in evergreen_init_atom_start_cs()
2893 r600_store_value(cb, 0x3F800000); /* R_028C0C_PA_CL_GB_VERT_CLIP_ADJ */ in evergreen_init_atom_start_cs()
2894 r600_store_value(cb, 0x3F800000); /* R_028C10_PA_CL_GB_VERT_DISC_ADJ */ in evergreen_init_atom_start_cs()
2895 r600_store_value(cb, 0x3F800000); /* R_028C14_PA_CL_GB_HORZ_CLIP_ADJ */ in evergreen_init_atom_start_cs()
2896 r600_store_value(cb, 0x3F800000); /* R_028C18_PA_CL_GB_HORZ_DISC_ADJ */ in evergreen_init_atom_start_cs()
2898 r600_store_context_reg_seq(cb, R_028240_PA_SC_GENERIC_SCISSOR_TL, 2); in evergreen_init_atom_start_cs()
2899 r600_store_value(cb, 0); /* R_028240_PA_SC_GENERIC_SCISSOR_TL */ in evergreen_init_atom_start_cs()
2900 …r600_store_value(cb, S_028244_BR_X(16384) | S_028244_BR_Y(16384)); /* R_028244_PA_SC_GENERIC_SCISS… in evergreen_init_atom_start_cs()
2902 r600_store_context_reg_seq(cb, R_028030_PA_SC_SCREEN_SCISSOR_TL, 2); in evergreen_init_atom_start_cs()
2903 r600_store_value(cb, 0); /* R_028030_PA_SC_SCREEN_SCISSOR_TL */ in evergreen_init_atom_start_cs()
2904 …r600_store_value(cb, S_028034_BR_X(16384) | S_028034_BR_Y(16384)); /* R_028034_PA_SC_SCREEN_SCISSO… in evergreen_init_atom_start_cs()
2906 r600_store_context_reg(cb, R_0288A8_SQ_PGM_RESOURCES_FS, 0); in evergreen_init_atom_start_cs()
2908 r600_store_context_reg(cb, R_028800_DB_DEPTH_CONTROL, 0); in evergreen_init_atom_start_cs()
2910 r600_store_context_reg(cb, R_028B28_VGT_STRMOUT_DRAW_OPAQUE_OFFSET, 0); in evergreen_init_atom_start_cs()
2913 eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0, 0x01000FFF); in evergreen_init_atom_start_cs()
2914 eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (32 * 4), 0x01000FFF); in evergreen_init_atom_start_cs()