From: Luca Barbieri Subject: Re: [PATCH] drm/ttm: Only try to preserve caching in moves in the same space Date: Mon, 1 Feb 2010 18:46:28 +0100 Message-ID: References: <1264670799-16101-1-git-send-email-luca@luca-barbieri.com> <21d7e9971001311735q3718ad8dy5298f19175a79a6e@mail.gmail.com> <20100201133317.GH29000@localhost.localdomain> <4240b9161002010905q22580b60w10b7d4ffc531494a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4240b9161002010905q22580b60w10b7d4ffc531494a@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: Jerome Glisse Cc: airlied@linux.ie, thellstrom@vmware.com, dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org > Idea is to mask all move which involve TT (AGP) with the agp_caching_mask, > it's easy to do in radeon ttm layer code and i believe it's easy to do > in nouveau > too. On non AGP you set agp_caching_mask to UC|WC|CACHED. Sure, but isn't that uglier and much more ad-hoc that the patch I proposed? ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --