cvs commit: src/sys/dev/drm ati_pcigart.c drm_bufs.c drm_pci.c
i915_dma.c mach64_dma.c
Robert Noland
rnoland at FreeBSD.org
Tue Sep 9 02:05:21 UTC 2008
rnoland 2008-09-09 02:05:03 UTC
FreeBSD src repository
Modified files:
sys/dev/drm ati_pcigart.c drm_bufs.c drm_pci.c
i915_dma.c mach64_dma.c
Log:
SVN rev 182883 on 2008-09-09 02:05:03Z by rnoland
We should never call drm_pci_alloc() while holding locks, due the the
calls to bus_dma. There were multiple paths that held different locks or
no locks at all. This patch ensures that all of the calling paths drop
their lock(s) before calling drm_pci_alloc().
Reviewed by: kib
Revision Changes Path
1.5 +9 -4 src/sys/dev/drm/ati_pcigart.c
1.5 +2 -0 src/sys/dev/drm/drm_bufs.c
1.4 +7 -4 src/sys/dev/drm/drm_pci.c
1.9 +12 -6 src/sys/dev/drm/i915_dma.c
1.4 +6 -0 src/sys/dev/drm/mach64_dma.c
More information about the cvs-src
mailing list