tech-x11 archive

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

re: drm and intel gm45




there are problems with drm and it not matching right now.  this patch
might help you get around it, but i'm working on having a sane solution
and do not plan to commit the below.


.mrg.


Index: dist/bsd-core/drm_ioctl.c
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/drm/dist/bsd-core/drm_ioctl.c,v
retrieving revision 1.4
diff -p -r1.4 drm_ioctl.c
*** dist/bsd-core/drm_ioctl.c   20 Jun 2009 01:07:09 -0000      1.4
--- dist/bsd-core/drm_ioctl.c   8 Aug 2009 17:59:31 -0000
*************** drm_set_busid(struct drm_device *dev)
*** 135,142 ****
--- 135,147 ----
                return ENOMEM;
        }
  
+ #if 0
        snprintf(dev->unique, dev->unique_len, "pci:%04x:%02x:%02x.%1x",
            dev->pci_domain, dev->pci_bus, dev->pci_slot, dev->pci_func);
+ #else
+       snprintf(dev->unique, dev->unique_len, "pci:%04x:%02x:%02x.%1x",
+           dev->pci_bus, dev->pci_bus, dev->pci_slot, dev->pci_func);
+ #endif
  
        DRM_UNLOCK();
  


Home | Main Index | Thread Index | Old Index