drm on i965M. Possible workaround.

Alexandr Krivulya shuriku at shurik.kiev.ua
Thu Jan 10 00:42:28 PST 2008


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"}, \
        {0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
        {0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
        {0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
        {0x8086, 0x2582, 0, "Intel i915G"}, \
        {0x8086, 0x2592, 0, "Intel i915GM"}, \
        {0x8086, 0x2772, 0, "Intel i945G"}, \
        {0x8086, 0x27A2, 0, "Intel i945GM"}, \
        {0x8086, 0x2972, 0, "Intel i946GZ"}, \
        {0x8086, 0x2982, 0, "Intel i965G"}, \
        {0x8086, 0x2992, 0, "Intel i965Q"}, \
        {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.


More information about the freebsd-mobile mailing list