Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp924135pxu; Fri, 4 Dec 2020 21:13:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYLm3TTWYlpP9HwS/quw7uFS6UDrxJUY7gQofaJUiY9LYjJMmsLgdMxeJ+h/B9P6EmQu8k X-Received: by 2002:a17:906:958e:: with SMTP id r14mr10476479ejx.319.1607145193163; Fri, 04 Dec 2020 21:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607145193; cv=none; d=google.com; s=arc-20160816; b=ee/9ymUEjeG9pJK9p4O1LMPr5lABWMVt9zjhynTpgIsUcVJMu/+d7DaAaZcvjiUfXb aO97lWN4Ou18cGSPYm5nqpvCPXi8xAmdpnU6MpQBSwcYCNUN8uWUhVimu8nXUiGED/cB iSb9mLs+npa9MUijnOv0fHdSvfUAVTEUKIAmuwzsfFz9jdDH/92UWxOVueExWW+fGHSC L1BChSpjbDZGn8MSy4Za4w3uDPx1CyW9EpYxKe9nt7D2sseQskgDoiR6UwmP9uenmVG5 g0Cc38AbIwJBKY4Ks+IqOBIS9jhHlBqn/2MFhR/fPckWvAbvN70nvQJz/LvoZUre7arF O+yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AyIY+EP1kTc66souxbGUy1GbHLsA8jmF+Piubmnixrg=; b=GbX0qQiLmnCe1qGJA1TQkqLXOkIRsstJLi+fBjb5wYyF3TlpC0ILtsP1NFz3YwW2vQ kEnHnyjIZUkrtx3HEqCLhQtXrC0Bn+L+tL/H8prjCxFEXN2CN/lQBeiAiTQhtkcpoJ/z n7WOvqMKQW6tJgQpq7vfzUTR33ZLxe4xZgpa88FkWE8Kt4OlZ6J5ZgFtgSHoTyzgFQYB XI+Ww655F4gkWeTbtnvo8q3GjbS4BY87a1XbihNu0IEFy6w+tl6bF5KCfiogSeb9DoBR qC8PZQgGxd5RAlKUa7f8AyKPz5ydrB909GoR6fjg7ay7nWPabqvyMDtbiSW1klB51QLs JvXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xu6x42sQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o24si4673518edz.608.2020.12.04.21.12.50; Fri, 04 Dec 2020 21:13:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xu6x42sQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726011AbgLEFJZ (ORCPT + 99 others); Sat, 5 Dec 2020 00:09:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbgLEFJZ (ORCPT ); Sat, 5 Dec 2020 00:09:25 -0500 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 333C2C061A51 for ; Fri, 4 Dec 2020 21:08:45 -0800 (PST) Received: by mail-oi1-x243.google.com with SMTP id d27so1241847oic.0 for ; Fri, 04 Dec 2020 21:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=AyIY+EP1kTc66souxbGUy1GbHLsA8jmF+Piubmnixrg=; b=Xu6x42sQ1atznZ0iEomRJXMcKGTuKh6ZDCRRe7CxjO3ZgK1dhOyyWz6ij18ltWhinJ eGnIJzJJoE8zPoQoSUtXxJ1td9idp8bvulMv7XgzaZNA6SBlAsiJLw8OgJcZ3dJ09l9v BjpO6BoyTYUoUQVkiAg/OaHsoXcE3iGgqDGCQgY2HYXZG6mYrS3JEBSqulb4w3kHq6zr Z97fk/eQSyVzC2plrSfBYetG382Q1NLGVIyy5egKaU9rK4RKwKJSSuamhiRU/coiozt2 nBgCwbui2AE7RqmR/GyrTs/P9bYLkxDg5nHaSz2xyyLSibzZIRkvgfcO0tAg8s8ClQ/k Gsbw== 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; bh=AyIY+EP1kTc66souxbGUy1GbHLsA8jmF+Piubmnixrg=; b=CvqEUjKwTyQdqChyzTJAlzr3qvyAM+SPFX+jmZQHOtm2uy8NmdT/k3qLFBSEWfVvF+ oK+O6XVUZ+ihIanEY/J/ei2Gj2VD0caGLjiujcxFii76M4tC4r1Z7j/lNHN3IxuatyCL JMiouqzvetQKXxB7bxUFxWNxDfKxvNwe6MJmaIIwx8ceSuxavWWzhYfrY5l84KBJGICC zSoyUjPlNERTzJCVoR93lOKlTo7+eqJcG58XMkIVo7jc/L+7mWyq5fvMSdT5Mk4EtBDu miShYz5Ty1Ih9nvJZ6/hm8vZGtNH+q/ZHDiQxN2e8FLFVfq7TLZnFbZQjbptmZwKLfuN y+kQ== X-Gm-Message-State: AOAM532lGAuXbuFqPJ8b5vMT1koPpEtIJWEQ72yccaKn7lOHetcGZu3d DtjtBpYqTPek0C9a5gSZU9cZFA== X-Received: by 2002:aca:560c:: with SMTP id k12mr5526899oib.134.1607144924456; Fri, 04 Dec 2020 21:08:44 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id m81sm1181090oib.37.2020.12.04.21.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 21:08:43 -0800 (PST) Date: Fri, 4 Dec 2020 23:08:41 -0600 From: Bjorn Andersson To: kholk11@gmail.com Cc: agross@kernel.org, sboyd@kernel.org, marijns95@gmail.com, konradybcio@gmail.com, martin.botka1@gmail.com, linux-arm-msm@vger.kernel.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] clk: qcom: mmcc-sdm660: Add MDP clock source CXC to MDSS GDSC Message-ID: References: <20200926130306.13843-1-kholk11@gmail.com> <20200926130306.13843-4-kholk11@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200926130306.13843-4-kholk11@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 26 Sep 08:03 CDT 2020, kholk11@gmail.com wrote: > From: AngeloGioacchino Del Regno > > It is required for optimal performance and to avoid MDP stalls to > retain mem/periph on GDSC enablement: to achieve this, let's add > the required CXC to the MDSS GDSC. > Can you please explain how you came to this conclusion, I don't see the reference to the MDP_CLK_SRC in the downstream kernel. Thanks, Bjorn > Signed-off-by: AngeloGioacchino Del Regno > --- > drivers/clk/qcom/mmcc-sdm660.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/clk/qcom/mmcc-sdm660.c b/drivers/clk/qcom/mmcc-sdm660.c > index 234aca7c873b..7b1384cf8506 100644 > --- a/drivers/clk/qcom/mmcc-sdm660.c > +++ b/drivers/clk/qcom/mmcc-sdm660.c > @@ -2572,6 +2572,8 @@ static struct gdsc mdss_gdsc = { > .pd = { > .name = "mdss", > }, > + .cxcs = (unsigned int []){ 0x2040 }, > + .cxc_count = 1, > .pwrsts = PWRSTS_OFF_ON, > }; > > -- > 2.28.0 >