[Mesa-dev] [PATCH 1/2] radeonsi: apply the streamout workaround to Fiji as well

Alex Deucher alexdeucher at gmail.com
Fri Dec 4 12:50:23 PST 2015


On Fri, Dec 4, 2015 at 3:27 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Cc: 11.0 11.1 <mesa-stable at lists.freedesktop.org>

For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/gallium/drivers/radeonsi/si_state_draw.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
> index 771d206..ee84a1f 100644
> --- a/src/gallium/drivers/radeonsi/si_state_draw.c
> +++ b/src/gallium/drivers/radeonsi/si_state_draw.c
> @@ -872,7 +872,9 @@ void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info)
>
>         /* Workaround for a VGT hang when streamout is enabled.
>          * It must be done after drawing. */
> -       if ((sctx->b.family == CHIP_HAWAII || sctx->b.family == CHIP_TONGA) &&
> +       if ((sctx->b.family == CHIP_HAWAII ||
> +            sctx->b.family == CHIP_TONGA ||
> +            sctx->b.family == CHIP_FIJI) &&
>             (sctx->b.streamout.streamout_enabled ||
>              sctx->b.streamout.prims_gen_query_enabled)) {
>                 sctx->b.flags |= SI_CONTEXT_VGT_STREAMOUT_SYNC;
> --
> 2.1.4
>
> _______________________________________________
> 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