From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 11 03:56:36 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBAFF16A417 for ; Fri, 11 Jan 2008 03:56:36 +0000 (UTC) (envelope-from marcolz@serv1-mk3.ilse.net) Received: from serv1-mk3.ilse.net (serv1-mk3.ilse.net [62.69.160.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1280F13C459 for ; Fri, 11 Jan 2008 03:56:35 +0000 (UTC) (envelope-from marcolz@serv1-mk3.ilse.net) Received: (from marcolz@localhost) by serv1-mk3.ilse.net (8.13.4/8.12.11) id m0A9srWO040542; Thu, 10 Jan 2008 10:54:53 +0100 (CET) (envelope-from marcolz) Date: Thu, 10 Jan 2008 10:54:53 +0100 From: Marc Olzheim To: Alexandr Krivulya Message-ID: <20080110095453.GD57589@ilse.net> References: <4785D519.8030906@shurik.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kvUQC+jR9YzypDnK" Content-Disposition: inline In-Reply-To: <4785D519.8030906@shurik.kiev.ua> X-Operating-System: FreeBSD serv1-mk3.ilse.net 4.11-STABLE FreeBSD 4.11-STABLE User-Agent: Mutt/1.5.11 Cc: freebsd-mobile@freebsd.org Subject: Re: drm on i965M. Possible workaround. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 03:56:36 -0000 --kvUQC+jR9YzypDnK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 10, 2008 at 10:19:37AM +0200, Alexandr Krivulya wrote: > Hi! >=20 > I have HP Compaq 6710s laptop with i965GM on FreeBSD 7.0-PRERELEASE.=20 >=20 > #pciconf -lv > ------ > vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x30c0103c chip=3D0x2a028= 086=20 > rev=3D0x0c hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Mobile 965 Express Integrated Graphics Controller' > class =3D display > subclass =3D VGA > ------- >=20 > To enable drm for this card add following line to=20 > /usr/src/sys/dev/drm/drm_pciids.h > and recompile kernel. >=20 > #define i915_PCI_IDS \ > {0x8086, 0x3577, 0, "Intel i830M GMCH"}, \ [snip] > {0x8086, 0x29A2, 0, "Intel i965G"}, \ > {0x8086, 0x2A02, 0, "Intel i965M"}, \ #ADD THIS LINE > {0, 0, 0, NULL} >=20 > With drm enabled I haven't any problems. I did the same, but also added 0x2A02 to the IS_I965G() define at the top of /usr/src/sys/dev/drm/i915_dma.c I'm not sure if I should have though as I have really no knowledge of the chip's capabilities. ;-) In any case, it seems to work. Marc --kvUQC+jR9YzypDnK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFHhettezjnobFOgrERAg5XAKCZeBO0GQPpTtbgRku+UH6bzxa0igCgv5jw +2Li8qB9vKnf1/QqzkfZo4Q= =chkc -----END PGP SIGNATURE----- --kvUQC+jR9YzypDnK--