aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-09-13 12:06:34 -0400
committerAlex Deucher <[email protected]>2010-09-13 12:06:34 -0400
commit105ef5eb5e0522cd9ade659ca2ed42a1f98852b2 (patch)
tree056dad5b423a97e7c0b0ddc677c549ed1b319dab /src
parent7dcb3050006a12c8afa44e436902b8a663855bc8 (diff)
r600c: remove redundant state emit on evergreen
r700start3d already emits the context control packets
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r600/evergreen_chip.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/r600/evergreen_chip.c b/src/mesa/drivers/dri/r600/evergreen_chip.c
index 3067b8bf589..986e1300e31 100644
--- a/src/mesa/drivers/dri/r600/evergreen_chip.c
+++ b/src/mesa/drivers/dri/r600/evergreen_chip.c
@@ -1446,22 +1446,7 @@ static void evergreenSendCB(GLcontext *ctx, struct radeon_state_atom *atom)
COMMIT_BATCH();
}
-static void evergreenSendCP(GLcontext *ctx, struct radeon_state_atom *atom)
-{
- context_t *context = EVERGREEN_CONTEXT(ctx);
- BATCH_LOCALS(&context->radeon);
- radeon_print(RADEON_STATE, RADEON_VERBOSE, "%s\n", __func__);
-
- //first to send
- //r700Start3D
- BEGIN_BATCH_NO_AUTOSTATE(3);
- R600_OUT_BATCH(CP_PACKET3(R600_IT_CONTEXT_CONTROL, 1)); //IT_CONTEXT_CONTROL 0x28
- R600_OUT_BATCH(0x80000000);
- R600_OUT_BATCH(0x80000000);
- END_BATCH();
- COMMIT_BATCH();
-}
static void evergreenSendVGT(GLcontext *ctx, struct radeon_state_atom *atom)
{
context_t *context = EVERGREEN_CONTEXT(ctx);
@@ -1536,8 +1521,6 @@ void evergreenInitAtoms(context_t *context)
EVERGREEN_ALLOC_STATE(init, always, 19, evergreenSendSQConfig);
//make sure send first
- EVERGREEN_ALLOC_STATE(cp, always, 3, evergreenSendCP);
-
EVERGREEN_ALLOC_STATE(vtx, evergreen_vtx, (6 + (VERT_ATTRIB_MAX * 12)), evergreenSendVTX);
EVERGREEN_ALLOC_STATE(pa, always, 124, evergreenSendPA);
EVERGREEN_ALLOC_STATE(tp, always, 0, evergreenSendTP);