NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41440: GM45 kernel drm support



>Number:         41440
>Category:       kern
>Synopsis:       GM45 kernel drm support
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat May 16 10:35:01 +0000 2009
>Originator:     Eric Auge
>Release:        NetBSD 5.0
>Organization:
>Environment:
NetBSD computer 5.0_STABLE NetBSD 5.0_STABLE (computer) #2: Fri May 15 09:11:07 
CEST 2009  root@computer:/usr/obj/sys/arch/amd64/compile/COMPUTER amd64

>Description:
Xorg (from pkgsrc) needed dri to work, DRI needed drm support in i915 kernel 
driver for the Mobile GM45 chipset.
The patch is just adding the pci ids to the right place, more patches might be 
necessary for a full drm support (currently checking against the freebsd 
driver..)

after patching:
i915drm0 at vga0: Mobile Intel GM45 Express Chipset (unit 0)
i915drm0: AGP at 0xd0000000 256MB
i915drm0: Initialized i915 1.5.0 20060119

>How-To-Repeat:
install Xorg from pkgsrc and enable kernel agp, kernel drm and Xorg DRI when 
having a Mobile GM45 chipset.
>Fix:
trivial patch..:

--- sys/dev/pci/drm/i915_dma.c  2009-05-16 12:20:57.000000000 +0200
+++ sys/dev/pci/drm/i915_dma.c.new      2009-05-15 09:10:52.000000000 +0200
@@ -43,7 +43,8 @@
                        dev->pci_device == 0x2982 || \
                        dev->pci_device == 0x2992 || \
                        dev->pci_device == 0x29A2 || \
-                       dev->pci_device == 0x2A02)
+                       dev->pci_device == 0x2A02 || \
+                       dev->pci_device == 0x2A42)


 /* Really want an OS-independent resettable timer.  Would like to have
--- sys/dev/pci/drm/drm_pciids.h        2009-05-16 12:20:57.000000000 +0200
+++ sys/dev/pci/drm/drm_pciids.h.new    2009-05-15 09:07:58.000000000 +0200
@@ -295,6 +295,7 @@
        {0x8086, 0x2992, 0, "Intel i965Q"}, \
        {0x8086, 0x29A2, 0, "Intel i965G"}, \
        {0x8086, 0x2A02, 0, "Intel i965PM"}, \
+       {0x8086, 0x2A42, 0, "Mobile Intel GM45 Express Chipset"}, \
        {0, 0, 0, NULL}

 #define imagine_PCI_IDS \



Home | Main Index | Thread Index | Old Index