From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Re: [RFC] ttm merge ttm_backend & ttm_tt Date: Wed, 02 Nov 2011 07:42:29 +0100 Message-ID: <4EB0E655.8030602@vmware.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [65.115.85.73]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A6149E7CC for ; Tue, 1 Nov 2011 23:44:57 -0700 (PDT) In-Reply-To: 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: Jerome Glisse Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 11/02/2011 02:11 AM, Jerome Glisse wrote: > Hi, > > So attached is patch serie (sorry for that i am away of my normal mail > config) which ultimately merge ttm_backend& ttm_tt it allows to get > rid of data duplication btw the two, especialy btw ttm_tt and driver > specific backend. So net result is less 300lines of code accross ttm > and driver. > > Jerome, I'm positive to the idea. Since ttm_tt is supposed to consist of code that is shared between the backends, and backends now have callbacks for almost everything ttm_tt could probably go away. I'd haven't looked at the patches yet, though. I try to do that soonish and get back. /Thomas