Re: drm on i965M. Possible workaround.
Marc Olzheim <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFHhettezjnobFOgrERAg5XAKCZeBO0GQPpTtbgRku+UH6bzxa0igCgv5jw +2Li8qB9vKnf1/QqzkfZo4Q= =chkc -----END PGP SIGNATURE-----