Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Workaround for AGP + Intel Q45



Hi,

* [09.02.09 12:24]:
> Certainly this patch:
> 
> Index: agp_i810.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/pci/agp_i810.c,v
> retrieving revision 1.62
> diff -u -r1.62 agp_i810.c
> --- agp_i810.c        27 Jan 2009 08:39:34 -0000      1.62
> +++ agp_i810.c        9 Feb 2009 11:06:18 -0000
> @@ -705,6 +705,7 @@
>               break;
>       case CHIP_I915:
>       case CHIP_G33:
> +     case CHIP_G4X:
>               reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_I915_MSAC);
>               msac = (u_int16_t)(reg >> 16);
>               if (msac & AGP_I915_MSAC_APER_128M)
> @@ -715,7 +716,7 @@
>       case CHIP_I965:
>               size = 512 * 1024 * 1024;
>               break;
> -     case CHIP_G4X:
> +     /* case CHIP_G4X:
>               reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_G4X_MSAC);
>               msac = (u_int16_t)(reg >> 16);
>               switch (msac & AGP_G4X_MSAC_MASK) {
> @@ -724,7 +725,7 @@
>               case AGP_G4X_MSAC_APER_512M:
>                       size = 512 * 1024 * 1024;
>               }
> -             break;
> +             break; */
>       default:
>               aprint_error(": Unknown chipset\n");
>       }
> 
> 
> gets me a system that works better (get a non zero aperture returned and X 
> works for screens bigger than 1280x1024).

I can confirm that this patch reads the correct aperture size on the Intel
DQ45CB mainboard. Therefore I think it should be applied to -current.

Thanks and best regards,
Michael

Attachment: pgpJ_fq0TLhHn.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index