aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-06-14 22:23:05 +0200
committerMarek Olšák <[email protected]>2012-06-15 22:42:59 +0200
commitbb07e251318d1b224fb78fc0bd4200216c42a5cf (patch)
treead33f6f5679fd08ca82d7b749ea1f7a1c34f4264 /src/gallium
parentf56f03428da0bf5256e7076a46df34b53d0b7b59 (diff)
r600g: set SMX_ACTION_ENA to fix streamout cache flushes on some chipsets
It helps on R7xx. Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
index a0224363fd4..0fed95c576c 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -1453,7 +1453,8 @@ void r600_context_streamout_end(struct r600_context *ctx)
}
/* Flush streamout caches. */
- ctx->surface_sync_cmd.flush_flags |= flush_flags;
+ ctx->surface_sync_cmd.flush_flags |=
+ S_0085F0_SMX_ACTION_ENA(1) | flush_flags;
r600_atom_dirty(ctx, &ctx->surface_sync_cmd.atom);
ctx->num_cs_dw_streamout_end = 0;