Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[patch] Re: kern/120978: [dri] intel i915.ko does not create

3 views
Skip to first unread message

Dominic Fandrey

unread,
Feb 24, 2008, 5:01:35 PM2/24/08
to
The following reply was made to PR kern/120978; it has been noted by GNATS.

From: Dominic Fandrey <kami...@bsdforen.de>
To: bug-fo...@FreeBSD.org, kami...@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
_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

0 new messages