From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Tatlor Subject: Re: [PATCH v5 1/4] fixp-arith: add a linear interpolation function Date: Wed, 13 Jun 2018 17:01:29 +0100 Message-ID: <20180613160129.GC10090@arch> References: <20180407135934.26122-1-ctatlor97@gmail.com> <20180607181306.9766-1-ctatlor97@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Linus Walleij Cc: linux-arm-msm@vger.kernel.org, Sebastian Reichel , Rob Herring , Mark Rutland , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Andrew Morton , Randy Dunlap , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" List-Id: devicetree@vger.kernel.org On Wed, Jun 13, 2018 at 01:12:45PM +0200, Linus Walleij wrote: > On Wed, Jun 13, 2018 at 1:06 PM, Linus Walleij wrote: > > On Thu, Jun 7, 2018 at 8:12 PM, Craig Tatlor wrote: > > > >> Adds a function to interpolate against two points, > >> this is carried arount as a helper function by tons of drivers. > >> > >> Signed-off-by: Craig Tatlor > > > > The linear formula seems to fit the most natural form of linear > > interpolation. > > > > I bet some John Carmack algorithm type people will soon > > start to optimize this... :D > > For your entertainment here is some sunday reading: > https://fgiesen.wordpress.com/2012/08/15/linear-interpolation-past-present-and-future/ > > Yours, > Linus Walleij Thanks, interesting read.