Commit 64ee69a1 authored by Marek Olšák's avatar Marek Olšák Committed by Dylan Baker
Browse files

radeonsi: disable SDMA on gfx8 to fix corruption on RX 580

Closes: #1399
Closes: #1889



Cc: 19.2 19.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer's avatarPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-By: Timur Kristóf's avatarTimur Kristóf <timur.kristof@gmail.com>
(cherry picked from commit e5167a92)

Conflicts:
	src/gallium/drivers/radeonsi/si_pipe.c
parent 310d8774
Pipeline #94989 passed with stages
in 29 minutes and 6 seconds
......@@ -485,6 +485,11 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
if (sscreen->info.num_sdma_rings &&
!(sscreen->debug_flags & DBG(NO_ASYNC_DMA)) &&
/* SDMA causes corruption on RX 580:
* https://gitlab.freedesktop.org/mesa/mesa/issues/1399
* https://gitlab.freedesktop.org/mesa/mesa/issues/1889
*/
(sctx->chip_class != GFX8 || sscreen->debug_flags & DBG(FORCE_DMA)) &&
/* SDMA timeouts sometimes on gfx10 so disable it for now. See:
* https://bugs.freedesktop.org/show_bug.cgi?id=111481
* https://gitlab.freedesktop.org/mesa/mesa/issues/1907
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment