diff options
author | Christian König <[email protected]> | 2012-08-02 14:43:23 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-08-11 09:58:25 +0200 |
commit | 708337e62e86cfb2df893f0733bb7c5a4938fab6 (patch) | |
tree | 2d93e413d622143ab6d82ff6d5cf25cbf3615861 /src/gallium/drivers/radeonsi/si_state.c | |
parent | 862df0885aa04ef68319382fc2df27a7b68fc0dd (diff) |
radeonsi: move init state to new state handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 1cd361013cc..e8a7b77da7e 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2354,6 +2354,11 @@ void si_init_config(struct r600_context *rctx) { struct si_pm4_state *pm4 = CALLOC_STRUCT(si_pm4_state); + si_pm4_cmd_begin(pm4, PKT3_CONTEXT_CONTROL); + si_pm4_cmd_add(pm4, 0x80000000); + si_pm4_cmd_add(pm4, 0x80000000); + si_pm4_cmd_end(pm4, false); + si_pm4_set_reg(pm4, R_028A4C_PA_SC_MODE_CNTL_1, 0x0); si_pm4_set_reg(pm4, R_028A10_VGT_OUTPUT_PATH_CNTL, 0x0); |