On Thu, Feb 23, 2017 at 1:48 PM, Marek Olšák <mar...@gmail.com> wrote: > From: Marek Olšák <marek.ol...@amd.com> > > Cc: 13.0 17.0 <mesa-sta...@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > src/gallium/drivers/radeonsi/si_state_shaders.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c > b/src/gallium/drivers/radeonsi/si_state_shaders.c > index f615aa8..750cdd6 100644 > --- a/src/gallium/drivers/radeonsi/si_state_shaders.c > +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c > @@ -2305,21 +2305,23 @@ static bool si_update_spi_tmpring_size(struct > si_context *sctx) > S_0286E8_WAVESIZE(scratch_bytes_per_wave >> 10); > if (spi_tmpring_size != sctx->spi_tmpring_size) { > sctx->spi_tmpring_size = spi_tmpring_size; > si_mark_atom_dirty(sctx, &sctx->scratch_state); > } > return true; > } > > static void si_init_tess_factor_ring(struct si_context *sctx) > { > - bool double_offchip_buffers = sctx->b.chip_class >= CIK; > + bool double_offchip_buffers = sctx->b.chip_class >= CIK && > + sctx->b.family != CHIP_CARRIZO && > + sctx->b.family != CHIP_STONEY; > unsigned max_offchip_buffers_per_se = double_offchip_buffers ? 128 : > 64; > unsigned max_offchip_buffers = max_offchip_buffers_per_se * > sctx->screen->b.info.max_se; > unsigned offchip_granularity; > > switch (sctx->screen->tess_offchip_block_dw_size) { > default: > assert(0); > /* fall through */ > case 8192: > -- > 2.7.4 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev