Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp836890imm; Wed, 13 Jun 2018 09:02:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLkFL8SeNH0Jgr1BduVbGfHGynhkV7nYRL83Cm96NTRHlyZWb+mH5xuvYG3Lm5iKzQYoAol X-Received: by 2002:a63:91c8:: with SMTP id l191-v6mr4613277pge.53.1528905775040; Wed, 13 Jun 2018 09:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528905775; cv=none; d=google.com; s=arc-20160816; b=s9nbhagsocrMNcAVCMgYji7w1TRtpujwkwW/IUAmv2yoB2JgR1NNdwlzYfG16Ss8BB qnvyvhlaJ4EV8RlqHtUJO0KbPkAMDh8pe5KYmAMVlXiMhlinvH7bnKngQuJ5Mrnz7/7S elJ4EqIGa9tQaAL7KakR4vYFNpXKkgwPFiOu9GKHwag46dT7JkqoV1qbQ6vzjMMONisJ Ri+Q/B9hNyrrkezEC0yt4dS/W/PYOMRXF+zGSL3hz577U4AchdOrHLFxJUYveBe8LWeS Av5PyGgzgNWzcJJwGiBxYILBGs7JGaSsGHkGNM81burEcVndYbH2j984uY5Eo6ApzzcE 3vpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=UplNA1aK0Elz33EWQ9w/0AecY/TuSBQIq3FqQgV78YI=; b=fQ+wzlzMgoNGuKJvZXCFJPLsTZAKwpMqKt3q/mJAJFKFi1FyKiutKx+MkEdol3LQVb 6fWzib3WpJngyMNhPsCLGEUR3Qx3DxavQhmqEno0hp3oYC3EQGCEbydSSkVJYB1/GjYg WnYneVAGLFo96VwSz9qVt43D+HOxBZySt9r1dZ2YKM8LiGYgxUf5A1dtnYe9ZHxKwJDf CgOdd5vpLbuleeuzP/K58S8LwfNYUYivt+RlC+oRI9BiBa7As5Y7P8NqRr8km9RP4kNr pjv4UOv5oUNLk+mKQ90dc/3HqRqpBXtEujEyff3B0371kp3Cu4pmgWBpfDQfy+qeNvOw eXUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jtmJnDjQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h89-v6si3126071pld.378.2018.06.13.09.02.38; Wed, 13 Jun 2018 09:02:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jtmJnDjQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936018AbeFMQBn (ORCPT + 99 others); Wed, 13 Jun 2018 12:01:43 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:42847 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935697AbeFMQBl (ORCPT ); Wed, 13 Jun 2018 12:01:41 -0400 Received: by mail-pf0-f193.google.com with SMTP id w7-v6so1646193pfn.9; Wed, 13 Jun 2018 09:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UplNA1aK0Elz33EWQ9w/0AecY/TuSBQIq3FqQgV78YI=; b=jtmJnDjQmMfhGJz7tb2K4zBVGa/7ZBYDQRAIzKynYDksvqDUM1ohXLA3lqFJIbL03P zbg4JkC7JC5wrrlejZgwUtsBK0V6rRX/2o03wDxZ8zOmQ524MjDlU6VPsEck2vV9TyT8 mknHJ8JFzh49H3hoMinjSc1Hk8ssoG7UoUOBLGVee/6mGhJjgFCaaTly6ZT+fKnF+SJy kdwh3b4VeD7alF3LDFiIJhxeMfHOM3Ymc7P93qAKsu2h31mW2i7sQh2moBE2EiG+GiRX oiDYnSSnjru65xbgnyRo0CfiY2yxsBbwlU6UlPDSOvZ+xhH1SeI+M++Z2fvbK3no66Ox bgIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=UplNA1aK0Elz33EWQ9w/0AecY/TuSBQIq3FqQgV78YI=; b=TCrAj/tW6c9QqdvhRn9WMDqIl9XFaJvntkn+otR9l6iUCb31ydYrL6GQavNWMpYDvR xx8Ts/DElIKv9WXjjbxywHjMPo2yiFKcsTtu3iEjtC4etRfXkULguohjdWVDd21Zwuyb WI9uykyMt6LcxbTV87l1LdSSrdKLBUvNnxZ7+AerTtaXK+57BcYz2g7qxAy1LbhIO99B NVHp/Cxco6p/IxJmwojos7L0d8t/kzaj2+4EA4JMN3UvJY1OcezNkE71SR9oudj+5ycS Wk/CzQPVVd4EnNMb+QcKGHc4TVHK3NKicSuTvI4hw5abi+Y6j786Xtmp59/wlESQ54b6 H4KQ== X-Gm-Message-State: APt69E1c1IfLXT4PgnXab/tWfobV1OY8Ou0ERffOKWB8UNXMDS5VyN+F tNSzSORT2UBPDnWWm2fEeg== X-Received: by 2002:a65:6517:: with SMTP id x23-v6mr4658609pgv.268.1528905701085; Wed, 13 Jun 2018 09:01:41 -0700 (PDT) Received: from arch (host81-131-105-100.range81-131.btcentralplus.com. [81.131.105.100]) by smtp.gmail.com with ESMTPSA id i7-v6sm10904701pfa.34.2018.06.13.09.01.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 09:01:40 -0700 (PDT) Date: Wed, 13 Jun 2018 17:01:29 +0100 From: Craig Tatlor 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" Subject: Re: [PATCH v5 1/4] fixp-arith: add a linear interpolation function 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.