Mesa (master): radeonsi/gfx9: disable CE
Marek Olšák
mareko at kemper.freedesktop.org
Fri Mar 31 19:42:31 UTC 2017
Module: Mesa
Branch: master
Commit: 06d725ab2fe51604c43c4f910c72016c68cd83da
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06d725ab2fe51604c43c4f910c72016c68cd83da
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Mar 20 16:22:16 2017 +0100
radeonsi/gfx9: disable CE
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/gallium/drivers/radeonsi/si_pipe.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 19c9a1710f..dfe0c25ba9 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -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;
More information about the mesa-commit
mailing list