Xorg 7.4 crashes on exit

N.J. Mann njm at njm.me.uk
Wed Apr 1 08:43:50 PDT 2009


In message <1238518147.8491.373.camel at balrog.2hip.net>,
	Robert Noland (rnoland at 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.
-- 




More information about the freebsd-x11 mailing list