cvs commit: src/sys/dev/drm i915_dma.c

Konstantin Belousov kib at FreeBSD.org
Thu Jul 12 09:02:32 UTC 2007


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


More information about the cvs-src mailing list