From owner-cvs-all Tue Jan 21 9:17: 2 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1F9937B401; Tue, 21 Jan 2003 09:17:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9073943EB2; Tue, 21 Jan 2003 09:17:01 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0LHH1bv006535; Tue, 21 Jan 2003 09:17:01 -0800 (PST) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0LHH1TL006534; Tue, 21 Jan 2003 09:17:01 -0800 (PST) Message-Id: <200301211717.h0LHH1TL006534@repoman.freebsd.org> From: Thomas Moestl Date: Tue, 21 Jan 2003 09:17:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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