Date: Sun, 24 Feb 2008 22:00:05 GMT From: Dominic Fandrey <kamikaze@bsdforen.de> To: freebsd-bugs@FreeBSD.org Subject: [patch] Re: kern/120978: [dri] intel i915.ko does not create /dev/dri with 965GM Message-ID: <200802242200.m1OM052I067865@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/120978; it has been noted by GNATS. From: Dominic Fandrey <kamikaze@bsdforen.de> To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de Cc: Subject: [patch] Re: kern/120978: [dri] intel i915.ko does not create /dev/dri with 965GM Date: Sun, 24 Feb 2008 22:59:01 +0100 I got it working. Ioquake3 and glxgears both work now. Changes were necessary in drm and in the dri port. Those are the required patches: diff -u sys/dev/drm/drm_pciids.h.orig sys/dev/drm/drm_pciids.h --- sys/dev/drm/drm_pciids.h.orig 2008-02-24 21:30:07.000000000 +0100 +++ sys/dev/drm/drm_pciids.h 2008-02-24 21:31:34.000000000 +0100 @@ -293,6 +293,7 @@ {0x8086, 0x2982, 0, "Intel i965G"}, \ {0x8086, 0x2992, 0, "Intel i965Q"}, \ {0x8086, 0x29A2, 0, "Intel i965G"}, \ + {0x8086, 0x2A02, 0, "Intel i965GM"}, \ {0, 0, 0, NULL} #define imagine_PCI_IDS \ diff -Pur graphics/dri.orig/Makefile graphics/dri/Makefile --- graphics/dri.orig/Makefile 2008-02-24 22:42:28.000000000 +0100 +++ graphics/dri/Makefile 2008-02-24 22:38:29.000000000 +0100 @@ -42,6 +42,7 @@ ${INSTALL_PROGRAM} ${WRKSRC}/lib/tdfx_dri.so ${DRIMODDIR} .elif ${ARCH} == amd64 ${INSTALL_PROGRAM} ${WRKSRC}/lib/i915_dri.so ${DRIMODDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/lib/i965_dri.so ${DRIMODDIR} .endif ${INSTALL_PROGRAM} ${WRKSRC}/lib/mach64_dri.so ${DRIMODDIR} ${INSTALL_PROGRAM} ${WRKSRC}/lib/mga_dri.so ${DRIMODDIR} diff -Pur graphics/dri.orig/pkg-plist graphics/dri/pkg-plist --- graphics/dri.orig/pkg-plist 2008-02-24 22:42:28.000000000 +0100 +++ graphics/dri/pkg-plist 2008-02-24 22:43:42.000000000 +0100 @@ -1,5 +1,6 @@ %%I386%%lib/dri/i810_dri.so %%I386_AMD64%%lib/dri/i915_dri.so +%%I386_AMD64%%lib/dri/i965_dri.so %%I386%%lib/dri/i965_dri.so lib/dri/mach64_dri.so lib/dri/mga_dri.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802242200.m1OM052I067865>