kojiro
public text v1 · immutable--- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c.old 2006-06-01 23:47:33.000000000 -0400
+++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2006-06-01 23:50:17.000000000 -0400
@@ -135,6 +135,9 @@
return NULL;
}
+ /* Patch to include support for >8MB memory on i915GM graphics cards */
+ memset((char*)&agpinf, 0, sizeof(agpinf));
+
if (ioctl(gartFd, AGPIOC_INFO, &agpinf) != 0) {
xf86DrvMsg(screenNum, X_ERROR,
"xf86GetAGPInfo: AGPIOC_INFO failed (%s)\n",