On Mon, 2009-05-04 at 16:36 -0400, Steve Polyack wrote:
> Robert Noland wrote:
> > Ok, they are at least partially disabled...  I wonder if a BIOS update
> > would help.
> >
> > Anyway, the garbled screen issue is usually associated with the caching
> > method used on the PCI GART.  On IGP chips we force the GART to be
> > uncacheable.  On PCI chips they are supposed to be able to snoop the bus
> > and DTRT.  All of the fixes for memory caching should be in 7.
> >
> > Please try the attached patch and see if that makes a difference.
> >
> > robert.
> >
> >   
> 
> Unfortunately, this didn't help.  I should also clarify what I'm seeing, 
> as it's not complete garbage as I thought.  I have a dual monitor setup, 
> side-by-side using xrandr.  When I start X (xfce4) with drm available, 
> the left monitor (primary) is a sold light shade of blue, except for a 
> black corner which is maybe 10pix square.  The right monitor displays my 
> typical background image with another black box over part of it.  If it 
> shift back to the console and then back into X, I can see the outlines 
> of my startup windows, but they contain garbage and the outlines are 
> fuzzed with green and magenta garbage.

ok, how about this one... If this doesn't do it, then we need to start
digging...

robert.

-- 
Robert Noland <rnol...@freebsd.org>
FreeBSD
Index: ati_pcigart.c
===================================================================
--- ati_pcigart.c	(revision 191793)
+++ ati_pcigart.c	(working copy)
@@ -83,7 +83,7 @@
 	}
 
 	flags = BUS_DMA_WAITOK | BUS_DMA_ZERO;
-	if (gart_info->gart_reg_if == DRM_ATI_GART_IGP)
+//	if (gart_info->gart_reg_if == DRM_ATI_GART_IGP)
 	    flags |= BUS_DMA_NOCACHE;
 	
 	ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr, flags, &dmah->map);

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to