From: Lauri Kasanen Subject: Re: [PATCH] drm: Add support for two-ended allocation, v2 Date: Wed, 2 Apr 2014 17:54:34 +0300 Message-ID: <20140402175434.4ee3f283.cand@gmx.com> References: <20140402120828.0140f283.cand@gmx.com> <533BEDB0.8090503@vodafone.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 952746EB78 for ; Wed, 2 Apr 2014 07:54:08 -0700 (PDT) In-Reply-To: <533BEDB0.8090503@vodafone.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Christian =?ISO-8859-15?Q?K=F6nig?= Cc: jglisse@redhat.com, Thomas Hellstrom , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, 02 Apr 2014 13:00:00 +0200 Christian K=F6nig wrote: > Nice idea, but I wouldn't put the decision where to place the buffer = > into TTM based on it's size. > = > Instead please make that a proper TTM placement flag because for example = > for VM page tables we want them to be at the end of VRAM, not because = > they are big (which they are anyway) but because they never accessed by = > the CPU. I think there aren't many special cases like that, and they could already be handled by setting the first and last pages for the bo? - Lauri