summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-08-02 14:52:55 +0200
committerChristian König <[email protected]>2012-08-11 09:58:25 +0200
commit7acb194a7bb4534674bccc351771915ea60d0869 (patch)
treee2ebee9fb00b15c6585a1a4e50a47c7e0b275049 /src/gallium
parent708337e62e86cfb2df893f0733bb7c5a4938fab6 (diff)
radeonsi: remove r6xx_flush_and_inv atom
It is not used any more. Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/r600_state_common.c8
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_state_common.c b/src/gallium/drivers/radeonsi/r600_state_common.c
index ea12914931d..aa58406c8be 100644
--- a/src/gallium/drivers/radeonsi/r600_state_common.c
+++ b/src/gallium/drivers/radeonsi/r600_state_common.c
@@ -49,13 +49,6 @@ static void r600_emit_surface_sync(struct r600_context *rctx, struct r600_atom *
a->flush_flags = 0;
}
-static void r600_emit_r6xx_flush_and_inv(struct r600_context *rctx, struct r600_atom *atom)
-{
- struct radeon_winsys_cs *cs = rctx->cs;
- cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0);
- cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT) | EVENT_INDEX(0);
-}
-
static void r600_init_atom(struct r600_atom *atom,
void (*emit)(struct r600_context *ctx, struct r600_atom *state),
unsigned num_dw,
@@ -69,7 +62,6 @@ static void r600_init_atom(struct r600_atom *atom,
void r600_init_common_atoms(struct r600_context *rctx)
{
r600_init_atom(&rctx->atom_surface_sync.atom, r600_emit_surface_sync, 5, EMIT_EARLY);
- r600_init_atom(&rctx->atom_r6xx_flush_and_inv, r600_emit_r6xx_flush_and_inv, 2, EMIT_EARLY);
}
unsigned r600_get_cb_flush_flags(struct r600_context *rctx)
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
index ec2f7906877..1cb16b673bc 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
@@ -174,7 +174,6 @@ struct r600_context {
/* States based on r600_state. */
struct list_head dirty_states;
struct r600_atom_surface_sync atom_surface_sync;
- struct r600_atom atom_r6xx_flush_and_inv;
/* Below are variables from the old r600_context.
*/