Date: Thu, 10 Jan 2008 10:54:53 +0100 From: Marc Olzheim <marcolz@ilse.net> To: Alexandr Krivulya <shuriku@shurik.kiev.ua> Cc: freebsd-mobile@freebsd.org Subject: Re: drm on i965M. Possible workaround. Message-ID: <20080110095453.GD57589@ilse.net> In-Reply-To: <4785D519.8030906@shurik.kiev.ua>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Thu, Jan 10, 2008 at 10:19:37AM +0200, Alexandr Krivulya wrote:
> Hi!
>
> I have HP Compaq 6710s laptop with i965GM on FreeBSD 7.0-PRERELEASE.
>
> #pciconf -lv
> ------
> vgapci0@pci0:0:2:0: class=0x030000 card=0x30c0103c chip=0x2a028086
> rev=0x0c hdr=0x00
> vendor = 'Intel Corporation'
> device = 'Mobile 965 Express Integrated Graphics Controller'
> class = display
> subclass = VGA
> -------
>
> To enable drm for this card add following line to
> /usr/src/sys/dev/drm/drm_pciids.h
> and recompile kernel.
>
> #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}
>
> 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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFHhettezjnobFOgrERAg5XAKCZeBO0GQPpTtbgRku+UH6bzxa0igCgv5jw
+2Li8qB9vKnf1/QqzkfZo4Q=
=chkc
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080110095453.GD57589>
