radeonsi/gfx9: disable CE

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák 2017-03-20 16:22:16 +01:00
parent 35aaccaf81
commit 06d725ab2f
1 changed files with 4 additions and 1 deletions

View File

@ -189,7 +189,10 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
sscreen->b.chip_class != SI &&
/* These can't use CE due to a power gating bug in the kernel. */
sscreen->b.family != CHIP_CARRIZO &&
sscreen->b.family != CHIP_STONEY) {
sscreen->b.family != CHIP_STONEY &&
/* Some CE bug is causing green screen corruption w/ MPV video
* playback and occasional corruption w/ 3D. */
sscreen->b.chip_class != GFX9) {
sctx->ce_ib = ws->cs_add_const_ib(sctx->b.gfx.cs);
if (!sctx->ce_ib)
goto fail;