Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3298508imm; Mon, 6 Aug 2018 02:09:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdKS/iTMRoDFvL1YnZACXktpIPJTGxu++Gn30ZS74YP0Q8d151InzXgNXIn+S/3uDPdd9+I X-Received: by 2002:a63:7e1a:: with SMTP id z26-v6mr13670601pgc.278.1533546541043; Mon, 06 Aug 2018 02:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533546541; cv=none; d=google.com; s=arc-20160816; b=KnAVuqALy8Qb3mkFImevG4E646zkqr2etSD79L7Nu1ghN9IoGTwF9zAxbhrqrXmi+n HLH2uXI4uRRITjwO15HbDeYHcc6q//tVXFAUhQf3k0b13HqNjj1+2bb5bE1x/H83ATPi e03jCg7y2A/CYZXR9O4/0FoLr28dOG2k9z7ieOOCuSQCTUz5+GaheAjbIrBxwWdk1jus o51zs+B7S13zuIWQUYc/A96CZi4K0exenKDIbYH2s5+gdcn31+CHmz58fu75coqM3Q3b pGZVysSeNJaAkHAOoq5tPL2J5go4dZYsKZnq4RxKuTc/sjus2fmp8Ck8LbM9rc3lGmDH VETQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=B/pzTG5sABmcwPMatWG7k7lpb4iT2mUwH9BzicG0lsQ=; b=yS0Rx3dOF7Q37H7cZupGc2qmJukIK+8FCk3V2hPX6zYOWfcOqvK1AmgM9o6bLjcQjz mOkDWZbFtir1s0KufHq9iwa1adl13/N3q+BVjd5uvWC8vtYV6kK31Lg5d1ulFqypo6fL pf9RRImoTHG3sR65iSWQwC2S3Je2hZf+xJv/mqxa/cd0GJFy9OYLfgjdFB1xzlxZqrP2 g804LI7k+luo5n97jV0VNCFn7HpyYypi1V7HKPj0Bea0f9ol7pd8F4/8R1udbZtjiczk d4O/NxN8KIED1YMyLUQjcS/JPx/F+DvCcGyrj29YJYSLWtsYPN3hFiX1eMYqufo4oTyT WS/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ksKoqAPY; dkim=pass header.i=@codeaurora.org header.s=default header.b=nNu2j0vO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y92-v6si9599263plb.378.2018.08.06.02.08.46; Mon, 06 Aug 2018 02:09:01 -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=@codeaurora.org header.s=default header.b=ksKoqAPY; dkim=pass header.i=@codeaurora.org header.s=default header.b=nNu2j0vO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727585AbeHFLPZ (ORCPT + 99 others); Mon, 6 Aug 2018 07:15:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43720 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726468AbeHFLPZ (ORCPT ); Mon, 6 Aug 2018 07:15:25 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2EAF860807; Mon, 6 Aug 2018 09:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533546439; bh=dCMyyhmy6YII78/IdVPDxL3meKVAScQ/RCbXuniUclo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ksKoqAPYx/4GCPG9Jq9ZK1GV2EzNT6PV+U/AY9bTJkrYUPU6Bh+XkkMZq9WsTR2H8 39k1r8psU0b0o9SOk1WvAsm5xh6uEnXZa5m0Go9FM3+chbHYyIWv+pntlJfNLkdRIW +MM87LQFznGxe1Q2OFFaIlMP3BlOyn7UcexETqtQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 94B6960807; Mon, 6 Aug 2018 09:07:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533546438; bh=dCMyyhmy6YII78/IdVPDxL3meKVAScQ/RCbXuniUclo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nNu2j0vOtWfsrOwuc7oqAf7r+dris4/qr115G8S+hOTXbpgFBzm6GRL1JuDe8Igdp JZ95S7cEcax337675X249klKiQBVN0uM0kYRffYBkaZJyINL+v52fnqhYTex8j1Zj/ LgSTeJk59DcCxUWIqb1hEhz/O13azz03U81cCy0A= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 06 Aug 2018 14:37:18 +0530 From: Amit Nischal To: Stephen Boyd Cc: Michael Turquette , Andy Gross , David Brown , Rajendra Nayak , Odelu Kukatla , Taniya Das , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk-owner@vger.kernel.org Subject: Re: [PATCH 2/4] clk: qcom: Add clk_rcg2_gfx3d_ops for SDM845 In-Reply-To: <153324986956.10763.5124619734269160725@swboyd.mtv.corp.google.com> References: <1528285308-25477-1-git-send-email-anischal@codeaurora.org> <1528285308-25477-3-git-send-email-anischal@codeaurora.org> <153111693472.143105.11303543263643845656@swboyd.mtv.corp.google.com> <1e6d9fc284c3c118203728867f504ec6@codeaurora.org> <153250192252.48062.9210075387954345932@swboyd.mtv.corp.google.com> <07e0321116993d27d6585bd1a186328d@codeaurora.org> <153324986956.10763.5124619734269160725@swboyd.mtv.corp.google.com> Message-ID: X-Sender: anischal@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-08-03 04:14, Stephen Boyd wrote: > Quoting Amit Nischal (2018-07-30 04:28:56) >> On 2018-07-25 12:28, Stephen Boyd wrote: >> > >> > Ok. Sounds good! Is the rate range call really needed? It can't be >> > determined in the PLL code with some table or avoided by making sure >> > GPU >> > uses OPP table with only approved frequencies? >> > >> >> Currently fabia PLL code does not have any table to check this and >> intention >> was to avoid relying on the client to call set_rate with only approved >> frequencies so we have added the set_rate_range() call in the GPUCC >> driver >> in order to set the rate range. >> > > But GPU will use OPP so it doesn't seem like it really buys us anything > here. And it really doesn't matter when the clk driver implementation > doesn't use the min/max to clamp the values of the round_rate() call. > Is > that being done here? I need to double check. I would be more convinced > if the implementation was looking at min/max to constrain the rate > requested. > So our understanding is that GPU(client) driver will always call the set_rate with approved frequencies only and we can completely rely on the client. Is our understanding is correct? > -- > To unsubscribe from this list: send the line "unsubscribe linux-clk" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html