r600g: set SMX_ACTION_ENA to fix streamout cache flushes on some chipsets

It helps on R7xx.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Marek Olšák 2012-06-14 22:23:05 +02:00
parent f56f03428d
commit bb07e25131

View file

@ -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;