Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1530257ybh; Thu, 23 Jul 2020 11:07:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqao21Goz+KzNN/U+YlVZKxgJWuWHYAC4CQMPgbs/5pqLzK+axvxjlzVA7zb+FhYwlxYbl X-Received: by 2002:a17:906:7a46:: with SMTP id i6mr5347381ejo.475.1595527649905; Thu, 23 Jul 2020 11:07:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595527649; cv=none; d=google.com; s=arc-20160816; b=mIn9SwRjRiQbGxnlJCrdNTxLxane5Q4wnzaf8N97gTBprSXgu/2mzqKdAaMdt5DUYb ZXkW3/5/4EEKOVBrXgtKphn0d9pfLyhLyGNimDmhgn9DhRKPdrLVKhEEfFOBWBRVy66N Gr991xWupqtwyy9mp4D9Ny9WBjkn9W9XKjSqHk9CAT8JRK5UFpgtL9HmrWRg7pnDphv6 cZP+NBqacFxZ1B09mXUyGR0OwD/zAGzhVaj5jmvqeOHKP9mjNPyRumhqsquVjyQZWWZS +ndGFmpyRam9nXzv5Quo9OWZkFBAv+lTbD2UJsSSwtuXQ78C7ihlPr0W8lBnnvG8B2ng Gdrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=mD0gVXE2wPUJlx9RjmBmtExy8T7ZH1sd1QlDXUC5IPE=; b=fbzsBariZcMHasUi0cSiR3xX0cHoDI3WtrVGx5TZUQPmM7bD1/UJyzF3LLrhmJgI1T EcTmBgloOguGlgRIV+0q0wmWUUosECs4R07zR9ZFYKEIozQ6MD9esaxyuda6T6KJv1E+ YvYmALBnzOAtdTkUtXRGB7FYK8e582iiGpfumcHCKmVusw9rttJw+pjfgVaL6qhicRIx vcnHa6DtVrrYrc4akJ4TtDYgYgFdlmLUP+RS+YG2lrwvLT/tL1K3hbR7KqRSufMmyCzH 7OAMpYqc++1PqnFaBrKZ85+INjM/yVm6/tVWWYC1LsiTN8Zn9SFKWSKeVcZHPUn+xGjb v46g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i9jDZylB; 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 rp11si2448387ejb.280.2020.07.23.11.07.05; Thu, 23 Jul 2020 11:07:29 -0700 (PDT) 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=i9jDZylB; 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 S1726564AbgGWSGy (ORCPT + 99 others); Thu, 23 Jul 2020 14:06:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbgGWSGx (ORCPT ); Thu, 23 Jul 2020 14:06:53 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BF1FC0619E3 for ; Thu, 23 Jul 2020 11:06:53 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id a6so6994626wmm.0 for ; Thu, 23 Jul 2020 11:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mD0gVXE2wPUJlx9RjmBmtExy8T7ZH1sd1QlDXUC5IPE=; b=i9jDZylBCkYI4PX0pdm+Sx5r9rpNQztebTzzJ2kVJ1CwiWFsRTWxuiqKLU82ckP/5O wm1GXTuLRUo5xznse+hNcjWLSiqZEEk/EsqBdPgKDXZV7G488oTrZts+KjJ4wp0ynNoK xnthrqYDhVtPJnC8VwxeoknxgRu/6ZCDxEteqO17nMpNqxlaB8fTpNaoYk57XxkPkoty w/bqAXHYunqu4VIa3KP9J0BnNL5aVqEZvCNIX5BhAsftylOcY3UdBfzlYgoDDWcfQHkb R+BEjxirEqdVRBrNJTyNc0sPJX42zuKYkvXtcxh8oQH7/JPU/8pc1R3QD1cmCFc64i1x 103w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mD0gVXE2wPUJlx9RjmBmtExy8T7ZH1sd1QlDXUC5IPE=; b=J2OjQeTnvHEsg09/TEgSS1aOxNYFpnsbQTvDtD/QdNPBxnNigM4qYe/dVfmF4GottR 501XIXpU7XhCpmjFmz8Q8D56LJLbT0zCmstcE6HeI+HE7ppla5qZpzkx/XNFBcqXx6Er rfljVo2JWg8er0o/nbhdECvyv3XK2RYU+a22xdfHFDIqrH1yxVBKYggX75nR3PoUXPsE HumfSAdj+OzquY9sdYOIZLgcgdG8h6FMBFFLhgJ+x7v2+TBhJ2RxRCThj/YfFicLGvM2 uwgjaBDiuIELS3jsPnIosUPr1LEjS430HECU9ADXNtWpxScgbrY1aUoy8bI6u59MKr1G RqHQ== X-Gm-Message-State: AOAM531cSqjzU0/LcCiVjm0e7+uhlOH8HepTUzmuGehUfkJplcYakIIc NSRVEx8teoeiMb4AtD74CG5hvA== X-Received: by 2002:a05:600c:204d:: with SMTP id p13mr5107823wmg.88.1595527612034; Thu, 23 Jul 2020 11:06:52 -0700 (PDT) Received: from [192.168.1.12] ([195.24.90.54]) by smtp.googlemail.com with ESMTPSA id g126sm4377697wme.16.2020.07.23.11.06.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jul 2020 11:06:51 -0700 (PDT) Subject: Re: [PATCH v4 4/5] arm64: dts: sdm845: Add OPP tables and power-domains for venus To: Rajendra Nayak , stanimir.varbanov@linaro.org, robh+dt@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org References: <1595503612-2901-1-git-send-email-rnayak@codeaurora.org> <1595503612-2901-5-git-send-email-rnayak@codeaurora.org> From: Stanimir Varbanov Message-ID: Date: Thu, 23 Jul 2020 21:06:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1595503612-2901-5-git-send-email-rnayak@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rajendra, After applying 2,3 and 4/5 patches on linaro-integration v5.8-rc2 I see below messages on db845: qcom-venus aa00000.video-codec: dev_pm_opp_set_rate: failed to find current OPP for freq 533000097 (-34) ^^^ This one is new. qcom_rpmh TCS Busy, retrying RPMH message send: addr=0x30000 ^^^ and this message is annoying, can we make it pr_debug in rpmh? On 7/23/20 2:26 PM, Rajendra Nayak wrote: > Add the OPP tables in order to be able to vote on the performance state of > a power-domain. > > Signed-off-by: Rajendra Nayak > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 40 ++++++++++++++++++++++++++++++++++-- > 1 file changed, 38 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index e506793..5ca2265 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -3631,8 +3631,10 @@ > interrupts = ; > power-domains = <&videocc VENUS_GDSC>, > <&videocc VCODEC0_GDSC>, > - <&videocc VCODEC1_GDSC>; > - power-domain-names = "venus", "vcodec0", "vcodec1"; > + <&videocc VCODEC1_GDSC>, > + <&rpmhpd SDM845_CX>; > + power-domain-names = "venus", "vcodec0", "vcodec1", "cx"; > + operating-points-v2 = <&venus_opp_table>; > clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, > <&videocc VIDEO_CC_VENUS_AHB_CLK>, > <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>, > @@ -3654,6 +3656,40 @@ > video-core1 { > compatible = "venus-encoder"; > }; > + > + venus_opp_table: venus-opp-table { > + compatible = "operating-points-v2"; > + > + opp-100000000 { > + opp-hz = /bits/ 64 <100000000>; > + required-opps = <&rpmhpd_opp_min_svs>; > + }; > + > + opp-200000000 { > + opp-hz = /bits/ 64 <200000000>; > + required-opps = <&rpmhpd_opp_low_svs>; > + }; > + > + opp-320000000 { > + opp-hz = /bits/ 64 <320000000>; > + required-opps = <&rpmhpd_opp_svs>; > + }; > + > + opp-380000000 { > + opp-hz = /bits/ 64 <380000000>; > + required-opps = <&rpmhpd_opp_svs_l1>; > + }; > + > + opp-444000000 { > + opp-hz = /bits/ 64 <444000000>; > + required-opps = <&rpmhpd_opp_nom>; > + }; > + > + opp-533000000 { > + opp-hz = /bits/ 64 <533000000>; > + required-opps = <&rpmhpd_opp_turbo>; > + }; > + }; > }; > > videocc: clock-controller@ab00000 { > -- regards, Stan