Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp246829imm; Mon, 9 Jul 2018 00:38:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeORplylewfIGXCGtQZWjHOW+6RfY5NTysU4C8CgQBNCYtP9YM3YUbMtyrsTnbKc9iVPLNP X-Received: by 2002:a63:62c4:: with SMTP id w187-v6mr17756516pgb.55.1531121902670; Mon, 09 Jul 2018 00:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531121902; cv=none; d=google.com; s=arc-20160816; b=Dxrmbe5e4yWBRfZMTb/rY0AFzRSlffErEApGdLm7t4EwPm8U6ZkqONU32eJQWdBa34 3ebwCzmG7jVncKuw6bEPwjZeS1oNxrt2aeWBDTpxn/2I3QDUZMwICrH4UCQICmIcs+nA hhSHJwLFWk7GzBTLLUFNlQPIwablTsUfPRlka6T3t/Xr+WkM4vwuqNPYTlValw9HNaDf NbDLrekWjx7SIrJeBYD+y+yLNbddACVva0fc5CYVjnlp919FwfW7KlNLPuvjAV9za9tY +ytWvdiqfBEUsmWgLrWY/wGRL0H+tkrhfT6jLYpSF/IRikZ+9f+hkuQqCWaSbpGDMGzw z82Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=j4Kh0ktEScGyUsH7EEq7AnMI3fDs9rux+SiPS4mea0E=; b=K4nDv88IsW8uHB8Rw45oaAD7pBWVJ6fpsl4OWJeXyryuffaiq/hze8f4PUc5VzcNjk vAjBVJ0ZoABl39BzaHR+dP+AiS7JIDctzdBqV/jdqaW/mC5QVuIRASGx80OInF+E0S0Q UyT+ZAdb11F1F8GhZd6bscrtYhI7sRs6FhzaDpLDXANNZolbP7w0yXiEx1M1kNlDQS9m jJSPia0YhCHehySRU4bhY+SfNSnrJC2IEcxF0fBuRJt8zGibbMWOubWdniM3mL1j6YDo 7KfoLIamsQ7CVnZShd28pmQhc/ft9tqzuhzJTATAF7cm9U5+yq+Mxgk354EeFGc2bwT/ 0SUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wlgwgUQe; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20-v6si13307249pgb.92.2018.07.09.00.38.08; Mon, 09 Jul 2018 00:38:22 -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=@kernel.org header.s=default header.b=wlgwgUQe; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932591AbeGIHhY (ORCPT + 99 others); Mon, 9 Jul 2018 03:37:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:35250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932241AbeGIHhX (ORCPT ); Mon, 9 Jul 2018 03:37:23 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A44C2075B; Mon, 9 Jul 2018 07:37:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531121842; bh=QPQpZAQhX2RtWlI//nINTBOzge25auddXC9Uivwfy64=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=wlgwgUQeqH0xScXFtiCJkcq82NEjvv+9BtIP8K6b+yjFWJF4u/fsKElRHTGRiVkH6 N7c6+0tC8fVP+PGPy9037/4bCaD5aEzOWTn3DbkJ4OXh5vJ3MZxeD1HIaaiLqSLEI6 EPZBritfw6pAcM5Fh66jWB+nsjfcPXqsLp66rXLI= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Michael Turquette , Taniya Das From: Stephen Boyd In-Reply-To: <436cc6a3-7406-c695-7879-3b9d042262cc@codeaurora.org> Cc: Andy Gross , David Brown , Rajendra Nayak , Amit Nischal , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <1529763567-13131-1-git-send-email-tdas@codeaurora.org> <1529763567-13131-4-git-send-email-tdas@codeaurora.org> <153109408562.143105.15954380130353645468@swboyd.mtv.corp.google.com> <10f87216-caa2-d523-e134-6cf3acd268a7@codeaurora.org> <153111701079.143105.13387458941681113476@swboyd.mtv.corp.google.com> <436cc6a3-7406-c695-7879-3b9d042262cc@codeaurora.org> Message-ID: <153112184177.143105.15452587215679149679@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v3 3/3] clk: qcom: Add display clock controller driver for SDM845 Date: Mon, 09 Jul 2018 00:37:21 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Taniya Das (2018-07-09 00:07:21) > = > = > On 7/9/2018 11:46 AM, Stephen Boyd wrote: > >> > >> > Why is the nocache flag needed? Applies to all clks in this file. > >> > > >> > >> This flag is required for all RCGs whose PLLs are controlled outside t= he > >> clock controller. The display code would require the recalculated rate > >> always. > > = > > Right. Why is the PLL controlled outside of the clock controller? The > > rate should propagate upward to the PLL from here, so who's going > > outside of that? > > = > The DSI0/1 PLL are not part of the display clock controller, but in the = > display subsystem which are managed by the DRM drivers. When DRM drivers > query for the rate clock driver should always return the non cached rates. Why? Is the DSI PLL changing rate all the time, randomly, without going through the clk APIs to do so?