Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 16:43:25 +0100
From:      "N.J. Mann" <njm@njm.me.uk>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: Xorg 7.4 crashes on exit
Message-ID:  <20090401154325.GB873@titania.njm.me.uk>
In-Reply-To: <1238518147.8491.373.camel@balrog.2hip.net>
References:  <20090331163606.855B01CC29@ptavv.es.net> <1238518147.8491.373.camel@balrog.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <1238518147.8491.373.camel@balrog.2hip.net>,
	Robert Noland (rnoland@FreeBSD.org) wrote:
> 
[snip]
> 
> Ok, could you try removing that and applying this attached change
> instead:
> 
> r190565 | rnoland | 2009-03-30 13:01:42 -0500 (Mon, 30 Mar 2009) | 5
> lines
> 
> We don't know what these pages are going to be used for, they should be
> un-cached.  This got lost somewhere with all the bus_dma fixups.
> 

> Index: drm_pci.c
> ===================================================================
> --- drm_pci.c	(revision 190564)
> +++ drm_pci.c	(revision 190565)
> @@ -91,7 +91,7 @@
>  	}
>  
>  	ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr,
> -	    BUS_DMA_WAITOK | BUS_DMA_ZERO, &dmah->map);
> +	    BUS_DMA_WAITOK | BUS_DMA_ZERO | BUS_DMA_NOCACHE, &dmah->map);
>  	if (ret != 0) {
>  		bus_dma_tag_destroy(dmah->tag);
>  		free(dmah, DRM_MEM_DMA);

No change. :-(


Cheers,
       Nick.
-- 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090401154325.GB873>