drm on i965M. Possible workaround.

Marc Olzheim marcolz at ilse.net
Thu Jan 10 19:56:36 PST 2008


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20080111/bbda480f/attachment.pgp


More information about the freebsd-mobile mailing list