[Mesa-dev] [PATCH] radeonsi: Disable asynchronous DMA except for PIPE_BUFFER

Marek Olšák maraeo at gmail.com
Thu Nov 13 04:16:34 PST 2014


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

I suggest pasting the commit message into the code.

Marek

On Thu, Nov 13, 2014 at 7:52 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Using the asynchronous DMA engine for multi-dimensional operations seems
> to cause random GPU lockups for various people. While the root cause for
> this might need to be fixed in the kernel, let's disable it for now.
>
> Before re-enabling this, please make sure you can hit all newly enabled
> paths in your testing, preferably with both piglit and real world apps,
> and get in touch with people on the bug reports below for stability
> testing.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85647
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83500
> Cc: mesa-stable at lists.freedesktop.org
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  src/gallium/drivers/radeonsi/si_dma.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_dma.c b/src/gallium/drivers/radeonsi/si_dma.c
> index b1bd5e7..1d3b524 100644
> --- a/src/gallium/drivers/radeonsi/si_dma.c
> +++ b/src/gallium/drivers/radeonsi/si_dma.c
> @@ -250,6 +250,9 @@ void si_dma_copy(struct pipe_context *ctx,
>                 return;
>         }
>
> +       /* XXX: The paths below cause lockups for some */
> +       goto fallback;
> +
>         if (src->format != dst->format || src_box->depth > 1 ||
>             rdst->dirty_level_mask != 0 ||
>             rdst->cmask.size || rdst->fmask.size ||
> --
> 2.1.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list