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

Grigori Goronzy greg at chown.ath.cx
Fri Nov 14 12:12:46 PST 2014


Reviewed-by: Grigori Goronzy <greg at chown.ath.cx>

I've been using a similar patch to fix stability issues on my machine
for quite a while. Still, it's a pity we have to go that far to get
everything stable again.

On 13.11.2014 07:52, Michel Dänzer 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 ||
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141114/b315bc17/attachment.sig>


More information about the mesa-dev mailing list