All pastes #60870 Raw Edit

kojiro

public text v1 · immutable
#60870 ·published 2006-06-02 04:01 UTC
rendered paste body
--- 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",