Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756769AbYHGCVS (ORCPT ); Wed, 6 Aug 2008 22:21:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751465AbYHGCRA (ORCPT ); Wed, 6 Aug 2008 22:17:00 -0400 Received: from yw-out-2324.google.com ([74.125.46.30]:15522 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbYHGCQ7 (ORCPT ); Wed, 6 Aug 2008 22:16:59 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=Y+09UWRWJAMxcCdzPu8yajxXYCZTb036W1mpBML4nwq/nUSlSrV9Rl1FwDtr6AUdEI zimojAe6u2Ch1WpRFc2JvZY+ij2JuTuAZC7BujFpv492uscdHu58n/LcI2hDroG7IZa0 A83pMGEueWtVwyJMY0n7asXmrT3Qu3n90FxLU= Message-ID: <6a89f9d50808061916r6f3434dbve525d5d814f57913@mail.gmail.com> Date: Thu, 7 Aug 2008 04:16:57 +0200 From: "Stephane Marchesin" To: "Arjan van de Ven" Subject: Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM Cc: "Keith Packard" , "John Stoffel" , "Hugh Dickins" , "Nick Piggin" , "Christoph Hellwig" , "Eric Anholt" , linux-kernel@vger.kernel.org In-Reply-To: <20080806102437.2d5e5d11@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1217573919-7496-1-git-send-email-eric@anholt.net> <1217870748.24714.79.camel@koto.keithp.com> <1217877645.24714.87.camel@koto.keithp.com> <18583.47633.987143.236236@stoffel.org> <1217910505.24714.152.camel@koto.keithp.com> <6a89f9d50808060920t168d533g5d440b444e7c09fc@mail.gmail.com> <20080806102437.2d5e5d11@infradead.org> X-Google-Sender-Auth: 57d416607c33dbf9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2162 Lines: 49 On 8/6/08, Arjan van de Ven wrote: > On Wed, 6 Aug 2008 18:20:40 +0200 > "Stephane Marchesin" wrote: > > > On 8/5/08, Keith Packard wrote: > > > On Mon, 2008-08-04 at 22:25 -0400, John Stoffel wrote: > > > > > > > What about the onboard memory of graphics cards? Isn't that > > > > where Textures and such are stored as well? So once something > > > > is loaded to the card, shouldn't you be able to free it in > > > > system memory? Or swap it out ahead of time? > > > > > > > > > Right now, I'm working only on Intel integrated graphics, which > > > doesn't have any on-board memory. My thinking is that we'd best > > > solve the easiest case first before attempting the harder discrete > > > graphics driver. Plus, Intel pays me do do integrated graphics, so > > > I have an incentive. > > > > > > > Right, but it sounds adventurous to merge this work upstream before it > > is generic enough to work on discrete cards. Right now it only works > > on intel integrated cards ; integrated cards are one business, > > discrete are a completely different world and the issues afoot > > completely different. > > > > Should this go upstream, the kernel guys have to keep in mind and > > accept the possibility that another memory manager might be needed at > > some point. > > > the ATI driver guys already have the interface working. > > In addition.. since when is "oh you must also make it work for THAT" a > requirement? Traditionally, it's up to the second person to make > generic code work for them (within reason of course, but I'll argue > that the bar of reasonableness has been met here) > Btw, I was wondering what prevented you (you being the intel people) from fixing TTM instead of writing GEM ? That's what happened, there was TTM first, intel came first, they should've fixed it... Stephane -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/