On Mon, 2009-05-04 at 15:56 -0400, Steve Polyack wrote:
> vgap...@pci0:0:2:0:    class=0x038000 card=0x01ad1028 chip=0x27728086 
> rev=0x02 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = '82945G Integrated Graphics Controller'
>     class      = display
>     bar   [10] = type Memory, range 32, base 0xfeb00000, size 524288, 
> enabled
>     bar   [14] = type I/O Port, range 32, base 0xe898, size  8,
> enabled
>     bar   [18] = type Prefetchable Memory, range 32, base 0xd0000000, 
> size 268435456, enabled
>     bar   [1c] = type Memory, range 32, base 0xfeac0000, size 262144, 
> enabled
> vgap...@pci0:0:2:1:    class=0x038000 card=0x01ad1028 chip=0x27768086 
> rev=0x02 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = '82945G Integrated Graphics Controller'
>     class      = display
>     bar   [10] = type Memory, range 32, base 0xfeb80000, size 524288, 
> enabled

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.

-- 
Robert Noland <rnol...@freebsd.org>
FreeBSD
Index: radeon_cp.c
===================================================================
--- radeon_cp.c	(revision 191793)
+++ radeon_cp.c	(working copy)
@@ -1429,7 +1429,7 @@
 			dev_priv->gart_info.mapping.size =
 			    dev_priv->gart_info.table_size;
 
-			drm_core_ioremap_wc(&dev_priv->gart_info.mapping, dev);
+			drm_core_ioremap(&dev_priv->gart_info.mapping, dev);
 			dev_priv->gart_info.addr =
 			    dev_priv->gart_info.mapping.handle;
 

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

Reply via email to