Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932515AbcKNJxj (ORCPT ); Mon, 14 Nov 2016 04:53:39 -0500 Received: from mail.fireflyinternet.com ([109.228.58.192]:63640 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753786AbcKNJvv (ORCPT ); Mon, 14 Nov 2016 04:51:51 -0500 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Date: Mon, 14 Nov 2016 09:51:09 +0000 From: Chris Wilson To: Tvrtko Ursulin Cc: Intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tvrtko Ursulin , Masahiro Yamada Subject: Re: [PATCH v3 3/4] lib/scatterlist: Introduce and export __sg_alloc_table_from_pages Message-ID: <20161114095109.GA32240@nuc-i3427.alporthouse.com> Mail-Followup-To: Chris Wilson , Tvrtko Ursulin , Intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tvrtko Ursulin , Masahiro Yamada References: <20161111102431.GS9300@nuc-i3427.alporthouse.com> <1478873864-1915-1-git-send-email-tvrtko.ursulin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1478873864-1915-1-git-send-email-tvrtko.ursulin@linux.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 24 On Fri, Nov 11, 2016 at 02:17:44PM +0000, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Drivers like i915 benefit from being able to control the maxium > size of the sg coallesced segment while building the scatter- > gather list. > > Introduce and export the __sg_alloc_table_from_pages function > which will allow it that control. > > v2: Reorder parameters. (Chris Wilson) > v3: Fix incomplete reordering in v2. > > Signed-off-by: Tvrtko Ursulin > Cc: Masahiro Yamada > Cc: linux-kernel@vger.kernel.org > Cc: Chris Wilson Works for me, Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre