Date: Tue, 21 Jan 2003 09:17:01 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h Message-ID: <200301211717.h0LHH1TL006534@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2003/01/21 09:17:01 PST
Modified files:
sys/dev/gem if_gem.c if_gemvar.h
Log:
bus_dmamap_sync() overhaul:
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
cases relaxing the (intended) syncing operation a bit.
- Stop pretending that that we can sync part of a dmamap: replace the
GEM_CDTXSYNC and GEM_CDRXSYNC macros with GEM_CDSYNC to sync the
complete control map, and combine syncs wherever possible to avoid
the overhead.
- Sync all maps before unloading them.
- Remove a few syncs which should be unnecessary.
Revision Changes Path
1.14 +17 -17 src/sys/dev/gem/if_gem.c
1.7 +1 -5 src/sys/dev/gem/if_gemvar.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301211717.h0LHH1TL006534>
