Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751864AbdG1LH6 convert rfc822-to-8bit (ORCPT ); Fri, 28 Jul 2017 07:07:58 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:49847 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751719AbdG1LH5 (ORCPT ); Fri, 28 Jul 2017 07:07:57 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Tvrtko Ursulin , Intel-gfx@lists.freedesktop.org From: Chris Wilson In-Reply-To: <20170727090504.15812-4-tvrtko.ursulin@linux.intel.com> Cc: "Ben Widawsky" , "Jason Ekstrand" , "Tvrtko Ursulin" , "Masahiro Yamada" , linux-kernel@vger.kernel.org, "Joonas Lahtinen" References: <20170727090504.15812-1-tvrtko.ursulin@linux.intel.com> <20170727090504.15812-4-tvrtko.ursulin@linux.intel.com> Message-ID: <150124007078.27803.16198626454225832452@mail.alporthouse.com> User-Agent: alot/0.3.6 Subject: Re: [PATCH 3/4] lib/scatterlist: Introduce and export __sg_alloc_table_from_pages Date: Fri, 28 Jul 2017 12:07:50 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 917 Lines: 26 Quoting Tvrtko Ursulin (2017-07-27 10:05:03) > 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. > v4: max_segment needs to be page aligned. > v5: Rebase. > v6: Rebase. > > Signed-off-by: Tvrtko Ursulin > Cc: Masahiro Yamada > Cc: linux-kernel@vger.kernel.org > Cc: Chris Wilson > Reviewed-by: Chris Wilson (v2) > Cc: Joonas Lahtinen Sill happy and checked the external user, Reviewed-by: Chris Wilson -Chris