From: Marek Olšák Date: Thu, 18 Aug 2016 23:37:34 +0000 (+0200) Subject: radeonsi: disable CE on SI + AMDGPU X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49c798e902be6c95ae44422cb05c98e1e8f6f1ca;p=mesa.git radeonsi: disable CE on SI + AMDGPU Reviewed-by: Edward O'Callaghan Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 67c3a260ef0..8e7d021b3ae 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -186,7 +186,9 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, sctx->b.gfx.cs = ws->cs_create(sctx->b.ctx, RING_GFX, si_context_gfx_flush, sctx); - if (!(sscreen->b.debug_flags & DBG_NO_CE) && ws->cs_add_const_ib) { + /* SI + AMDGPU + CE = GPU hang */ + if (!(sscreen->b.debug_flags & DBG_NO_CE) && ws->cs_add_const_ib && + sscreen->b.chip_class != SI) { sctx->ce_ib = ws->cs_add_const_ib(sctx->b.gfx.cs); if (!sctx->ce_ib) goto fail;