freebsd-skq/sys/dev/drm
Konstantin Belousov 73f37bf31a 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
2007-07-12 09:02:31 +00:00
..
ati_pcigart.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_agpsupport.c Update __FreeBSD_version check for pci_find_extcap() now that it is 2006-12-28 21:55:47 +00:00
drm_atomic.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_auth.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_bufs.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_context.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_dma.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_drawable.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_drv.c Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
drm_fops.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_ioctl.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_irq.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
drm_linux_list.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_lock.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_memory.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_pci.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_pciids.h Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
drm_sarea.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_scatter.c Merge from DRM CVS: 2006-05-17 06:29:36 +00:00
drm_sysctl.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_vm.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm-preprocess.sh Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
drm-subprocess.pl Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm.h Update to current DRM CVS, bringing in a fix for a NULL pointer chase when 2006-05-17 06:36:28 +00:00
drmP.h Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
i915_dma.c bus_dma_tag_create() and bus_dma_mem_alloc() shall not be called with a 2007-07-12 09:02:31 +00:00
i915_drm.h Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
i915_drv.c Update to current DRM CVS, bringing in a fix for a NULL pointer chase when 2006-05-17 06:36:28 +00:00
i915_drv.h Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
i915_irq.c Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
i915_mem.c Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
mach64_dma.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mach64_drm.h Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
mach64_drv.c - Bump FreeBSD version for the hostb(4) and vgapci(4) drivers as well as 2005-12-20 22:44:36 +00:00
mach64_drv.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mach64_irq.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mach64_state.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_dma.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_drm.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_drv.c Update to current DRM CVS, bringing in a fix for a NULL pointer chase when 2006-05-17 06:36:28 +00:00
mga_drv.h Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
mga_irq.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_state.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_ucode.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_warp.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
r128_cce.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
r128_drm.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
r128_drv.c - Bump FreeBSD version for the hostb(4) and vgapci(4) drivers as well as 2005-12-20 22:44:36 +00:00
r128_drv.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
r128_irq.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
r128_state.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
r300_cmdbuf.c Update to current DRM CVS, bringing in a fix for a NULL pointer chase when 2006-05-17 06:36:28 +00:00
r300_reg.h Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
radeon_cp.c Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
radeon_drm.h Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
radeon_drv.c - Bump FreeBSD version for the hostb(4) and vgapci(4) drivers as well as 2005-12-20 22:44:36 +00:00
radeon_drv.h Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
radeon_irq.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
radeon_mem.c Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
radeon_state.c Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
savage_bci.c Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
savage_drm.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
savage_drv.c - Bump FreeBSD version for the hostb(4) and vgapci(4) drivers as well as 2005-12-20 22:44:36 +00:00
savage_drv.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
savage_state.c Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
sis_drm.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
sis_drv.c - Bump FreeBSD version for the hostb(4) and vgapci(4) drivers as well as 2005-12-20 22:44:36 +00:00
sis_drv.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
sis_ds.c Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
sis_ds.h Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
sis_mm.c Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
tdfx_drv.c - Bump FreeBSD version for the hostb(4) and vgapci(4) drivers as well as 2005-12-20 22:44:36 +00:00
tdfx_drv.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00