kib         2007-07-12 09:02:31 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/drm          i915_dma.c 
  Log:
  bus_dma_tag_create() and bus_dma_mem_alloc() shall not be called with a
  non-sleepable lock held. drm_pci_alloc() calls them, thus drm mutex shall
  not be held during the call.
  
  Move the drm_pci_alloc() to the start of the i915_initialize() and drop the
  the drm mutex around it.
  
  Reported by:    Ganbold <ganbold micom mng net>
  Reviewed by:    anholt
  Approved by:    re (hrs)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.5       +15 -9     src/sys/dev/drm/i915_dma.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to