[Mesa-dev] [PATCH 1/3] r600g: set SMX_ACTION_ENA to fix streamout cache flushes on some chipsets
Alex Deucher
alexdeucher at gmail.com
Thu Jun 14 15:23:29 PDT 2012
On Thu, Jun 14, 2012 at 6:09 PM, Marek Olšák <maraeo at gmail.com> wrote:
> It helps on R7xx.
For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> src/gallium/drivers/r600/r600_hw_context.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
> index a022436..0fed95c 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;
> --
> 1.7.9.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list