Date: Thu, 12 Jul 2007 09:02:31 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/drm i915_dma.c Message-ID: <200707120902.l6C92WPi099826@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707120902.l6C92WPi099826>
