From owner-cvs-src-old@FreeBSD.ORG Thu Apr 22 18:44:37 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC135106577D for ; Thu, 22 Apr 2010 18:44:37 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D8F2B8FC1B for ; Thu, 22 Apr 2010 18:44:37 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3MIibYV054248 for ; Thu, 22 Apr 2010 18:44:37 GMT (envelope-from rnoland@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3MIibd2054247 for cvs-src-old@freebsd.org; Thu, 22 Apr 2010 18:44:37 GMT (envelope-from rnoland@repoman.freebsd.org) Message-Id: <201004221844.o3MIibd2054247@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rnoland@repoman.freebsd.org using -f From: Robert Noland Date: Thu, 22 Apr 2010 18:44:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/drm drmP.h drm_bufs.c drm_scatter.c r128_cce.c r600_cp.c radeon_cp.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 18:44:38 -0000 rnoland 2010-04-22 18:44:23 UTC FreeBSD src repository Modified files: sys/dev/drm drmP.h drm_bufs.c drm_scatter.c r128_cce.c r600_cp.c radeon_cp.c Log: SVN rev 207067 on 2010-04-22 18:44:23Z by rnoland re-write scatter gather memory allocation yet again... This time, abandon the use of busdma and start interacting with the VM system directly. Make use of the new kmem_alloc_attr() which allows us to easily allocate non-contiguous pages to back the GART table. This should help a lot when starting or restarting X after the system has been running for a while and memory has become fragmented. MFC after: 2 weeks Revision Changes Path 1.44 +8 -5 src/sys/dev/drm/drmP.h 1.16 +3 -3 src/sys/dev/drm/drm_bufs.c 1.14 +36 -83 src/sys/dev/drm/drm_scatter.c 1.17 +2 -3 src/sys/dev/drm/r128_cce.c 1.12 +6 -9 src/sys/dev/drm/r600_cp.c 1.38 +6 -9 src/sys/dev/drm/radeon_cp.c