From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Re: KMS and TTM questions Date: Tue, 04 Oct 2011 18:58:36 +0200 Message-ID: <4E8B3B3C.3010602@shipmail.org> References: <20111003201416.405754d9@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from GOTHNET-SMTP2.gothnet.se (ns2.gothnet.se [82.193.160.251]) by gabe.freedesktop.org (Postfix) with ESMTP id 537009E764 for ; Tue, 4 Oct 2011 10:02:35 -0700 (PDT) In-Reply-To: <20111003201416.405754d9@lxorguk.ukuu.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alan Cox Cc: DRI development list List-Id: dri-devel@lists.freedesktop.org On 10/03/2011 09:14 PM, Alan Cox wrote: >> the front buffer. The problem was the buffer offset for the second >> allocation was the same as the VQ buffer. I'm stump to what I'm doing >> wrong, so does anyone have a idea? >> > I gave up trying to understand TTM (they don't make happy pills that big) > and used GEM and a simple allocator. The private allocator GEM change > means you can now use GEM to magic up objects that are in on card or > stolen memory where applicable not just backed in system memory. > IMHO people making that comment just don't understand the problems TTM is trying to solve, but it usually dawns on them when they have worked on their own specialized solution for a year or so... /Thomas