Date: Tue, 9 Sep 2008 02:05:03 +0000 (UTC) From: Robert Noland <rnoland@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/drm ati_pcigart.c drm_bufs.c drm_pci.c i915_dma.c mach64_dma.c Message-ID: <200809090205.m8925KKW007378@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809090205.m8925KKW007378>