drm on i965M. Possible workaround.

Andrey andrey.kosachenko at gmail.com
Fri Jan 11 00:47:03 PST 2008


Hi, Alexandr!

I've tried your workaround. And it looks like it works (on my laptop HP 
Compaq 6710b with integrated Intel X3100 Graphic Card (GM965)).

# dmesg | egrep -i 'agp|drm'
agp0: <Intel GM965 SVGA controller> on vgapci0
agp0: detected 7676k stolen memory
agp0: aperture size is 256M
drm0: <Intel i965M> on vgapci0
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.5.0 20060119
drm0: [ITHREAD]


BTW:

If there are no following devices statically compiled with the kernel:

device          drm
device          i915drm

then it seems that it is faster to test your workaround by means of:
# cp /usr/src/sys/dev/drm/drm_pciids.h 
/usr/src/sys/dev/drm/drm_pciids.h.orig
# cd /usr/src/sys/modules/drm/drm/
# make clean
# make depend && make obj && make && make install && make clean


--
Sincerely,
Andrey

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"}, \
>        {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.
> _______________________________________________
> freebsd-mobile at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
> 



More information about the freebsd-mobile mailing list