Message ID | 20240123-sa8295p-gpu-v3-4-d5b4474c8f33@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-36418-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp770454dyi; Tue, 23 Jan 2024 20:27:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMojoDpXSLnIjCfSf/KOZ/svxPFDxbfvccQmWW+F8nAAiKNATrthur9KLoP2ZSsr/p8yaL X-Received: by 2002:a05:651c:2117:b0:2cd:f914:bba7 with SMTP id a23-20020a05651c211700b002cdf914bba7mr594116ljq.34.1706070428050; Tue, 23 Jan 2024 20:27:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706070428; cv=pass; d=google.com; s=arc-20160816; b=e4W7tx7t8jpRyax/+itTVTw5B5H8k46bA6Gwr+Fw4rY2I+RSYZAY2ZQ4/csnVM8pSp VX7LFB7aXVHmdbBXNIfdFZ5umDQ2Win49lciLrqLDKiJVUB/6skmZE0zzJt7QCIYa94G /zFH+TnZv74EyNK0J8z7ePJl08bmhHDM6WilFhe4KjVYCUzHb8ZrvG3x4p0c+sVSyy/C 25GExM9zKmk7Jab0EL1S0QEn6EUK4TshDzAgBWjG9ckOkVB2Vdd5zWI/BLFSIq3M4xzq MwFUx6/aJ/Ani9nsXG0JwmQibAxI8v8ep9nBsJKJ3zN2wD6q0Qf0Rpbb6S0n7jsn2kud 5Y5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=jdTPCIWbZU1YuhLSVBXhk8j7wmEbnSsTEzOslXqBqWM=; fh=SIoHoSlZ2vdBGsqSZidrTdMh1VkA2zGu4CyO3VmffEo=; b=vi9kS2qSCLp3s8AKYSr+E9/ACNOrJfvcgOnEJuZKhAEVeRytT2/kI2bRWejPJEV3bx UTRpW4/3LfzpJqbJvGE7VjP+taLh0CJv03+6tsuQdsvdd5fPpoKQop+2B7I1y4kKFLHx lgkF545C+PjRG0VHl5GnmPjAKhO6f8jamJArg/31pyHWWaEkK5Y0EwCCBdPONZWm2WO1 nXTxWjIeYx7s8wFhDdey0UfsFES3dSqw5KDzvZj9zH6hJVBbeYLnMATWcIOyR+cn9X7/ fGXR/QgC7HKKECCmxJ4tVHkFjiA0nDXv2ptnE5LO5bcfZ6rlb4v1cNAPd86/OsIrynG+ p6rQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=klP51qzy; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-36418-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36418-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d30-20020a50cd5e000000b0055c7ad9f290si1643776edj.157.2024.01.23.20.27.07 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 20:27:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36418-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=klP51qzy; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-36418-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36418-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A62B41F2D69D for <ouuuleilei@gmail.com>; Wed, 24 Jan 2024 04:27:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51E2F1755A; Wed, 24 Jan 2024 04:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="klP51qzy" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6B64BE45; Wed, 24 Jan 2024 04:25:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706070330; cv=none; b=NzRSmEv0KwOhUlRsxMxBb4xP33KGIh73pB2/LJ1ikIfTT+TAdZIGzEMWBWDNf6KbfPAMqStIFElKqd3SX+Y1sXaKtJqRPvRP7nU9zrgI4922Q8kujDB7IyD60e2Ui1tflGbYArq0A98COSMfnaSAoHTThZXBrvqSflXYcAviK+o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706070330; c=relaxed/simple; bh=wB7NJGtRNbfW5rgrFcxjSLvoTR2wr8u6sCO82j3nEyw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=Cdt66CqtERD3IZjWf/5mjSwZXe8boZ2Nl/ElHNAy4fdVl6zZwZ++fNvsYG+v3syWyk1v/UnVB0dEmdE1nJH75D5e/+JNhlWU9z6z3Kxz9bbvnaot/BSx4zeDtHs5I1QHvqfY0J4SWHzewkyjqEuPnEmO/c4rpegJaRcp7uFwptk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=klP51qzy; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40O42qx4018961; Wed, 24 Jan 2024 04:25:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=jdTPCIWbZU1YuhLSVBXhk8j7wmEbnSsTEzOslXqBqWM =; b=klP51qzyHbdw9sE9X4nej4TtMYjmODpiz6l+pffim0dLYPOO3AzF408ON3x ZtyDhABEgNBX1KjlPBrJAFX0xdBgRb11ATEIXZYsjFS1wMY+m/Q/uMkDSMnnGxI3 r46a4cIeKDodx/FhrTljVCjPVw81WTMri1Wvs+brHE5ixMxkUtF0yIAOcw4yU0ED FzrmdtwhTzWdKHUqKFxcbPiVJyO/DJsl9AJE/UBRHZ9Cw6CfDURUo2Om4GC3Vp48 VwaLdpEz1dPuMrAw3OmlbuVL13OwfO96CTFyJgnJZX2jgAgmsUpkvWsuc/e5JAoA RkPLpIubaSNnelcl6m6yL2wdr2Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vtmh00qyf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2024 04:25:18 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40O4PHcU019380 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2024 04:25:17 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 23 Jan 2024 20:25:17 -0800 From: Bjorn Andersson <quic_bjorande@quicinc.com> Date: Tue, 23 Jan 2024 20:25:18 -0800 Subject: [PATCH v3 4/8] soc: qcom: rpmhpd: Drop SA8540P gfx.lvl Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240123-sa8295p-gpu-v3-4-d5b4474c8f33@quicinc.com> References: <20240123-sa8295p-gpu-v3-0-d5b4474c8f33@quicinc.com> In-Reply-To: <20240123-sa8295p-gpu-v3-0-d5b4474c8f33@quicinc.com> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Taniya Das <quic_tdas@quicinc.com>, Johan Hovold <johan+linaro@kernel.org> CC: <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-pm@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, "Bjorn Andersson" <quic_bjorande@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Ulf Hansson <ulf.hansson@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706070315; l=1039; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=wB7NJGtRNbfW5rgrFcxjSLvoTR2wr8u6sCO82j3nEyw=; b=pbspEtXfMx6Glo0UBSVW81jxBaPcipmRrcSR3hzXBknV2GK4jWSoPqOZHqm4qeiG6jFV97as2 emEsZfM3o9gAmkVr2FS8gm8OFpT9Qom6pOIO5cVYB7vbG8Yq3Kry9CH X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 7KLjP4FwntSqCHYzmHvA00SI36G_GEdJ X-Proofpoint-ORIG-GUID: 7KLjP4FwntSqCHYzmHvA00SI36G_GEdJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-24_01,2024-01-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 mlxlogscore=975 priorityscore=1501 lowpriorityscore=0 bulkscore=0 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401240029 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788944504790875828 X-GMAIL-MSGID: 1788944504790875828 |
Series |
arm64: dts: qcom: sa8295p: Enable GPU
|
|
Commit Message
Bjorn Andersson
Jan. 24, 2024, 4:25 a.m. UTC
On SA8295P and SA8540P gfx.lvl is not provdied by rpmh, but rather is handled by an external regulator (max20411). Drop gfx.lvl from the list of power-domains exposed on this platform. Fixes: f68f1cb3437d ("soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains") Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> --- drivers/pmdomain/qcom/rpmhpd.c | 1 - 1 file changed, 1 deletion(-)
Comments
On Wed, 24 Jan 2024 at 05:25, Bjorn Andersson <quic_bjorande@quicinc.com> wrote: > > On SA8295P and SA8540P gfx.lvl is not provdied by rpmh, but rather is > handled by an external regulator (max20411). Drop gfx.lvl from the list > of power-domains exposed on this platform. > > Fixes: f68f1cb3437d ("soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains") > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Acked-by: Ulf Hansson <ulf.hansson@linaro.org> > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> I assume you are picking this via your tree? If not, please tell me if I should. Before applying, please amend the prefix of commit message header to be "pmdomain: ..." Kind regards Uffe > --- > drivers/pmdomain/qcom/rpmhpd.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c > index 3078896b1300..27a73ff72614 100644 > --- a/drivers/pmdomain/qcom/rpmhpd.c > +++ b/drivers/pmdomain/qcom/rpmhpd.c > @@ -217,7 +217,6 @@ static struct rpmhpd *sa8540p_rpmhpds[] = { > [SC8280XP_CX] = &cx, > [SC8280XP_CX_AO] = &cx_ao, > [SC8280XP_EBI] = &ebi, > - [SC8280XP_GFX] = &gfx, > [SC8280XP_LCX] = &lcx, > [SC8280XP_LMX] = &lmx, > [SC8280XP_MMCX] = &mmcx, > > -- > 2.25.1 >
On Wed, Jan 24, 2024 at 10:36:34AM +0100, Ulf Hansson wrote: > On Wed, 24 Jan 2024 at 05:25, Bjorn Andersson <quic_bjorande@quicinc.com> wrote: > > > > On SA8295P and SA8540P gfx.lvl is not provdied by rpmh, but rather is > > handled by an external regulator (max20411). Drop gfx.lvl from the list > > of power-domains exposed on this platform. > > > > Fixes: f68f1cb3437d ("soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains") > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > Acked-by: Ulf Hansson <ulf.hansson@linaro.org> > > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > > I assume you are picking this via your tree? If not, please tell me if I should. > That sounds good, thanks. > Before applying, please amend the prefix of commit message header to > be "pmdomain: ..." > Thanks for noticing, I will update accordingly. Regards, Bjorn > Kind regards > Uffe > > > --- > > drivers/pmdomain/qcom/rpmhpd.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c > > index 3078896b1300..27a73ff72614 100644 > > --- a/drivers/pmdomain/qcom/rpmhpd.c > > +++ b/drivers/pmdomain/qcom/rpmhpd.c > > @@ -217,7 +217,6 @@ static struct rpmhpd *sa8540p_rpmhpds[] = { > > [SC8280XP_CX] = &cx, > > [SC8280XP_CX_AO] = &cx_ao, > > [SC8280XP_EBI] = &ebi, > > - [SC8280XP_GFX] = &gfx, > > [SC8280XP_LCX] = &lcx, > > [SC8280XP_LMX] = &lmx, > > [SC8280XP_MMCX] = &mmcx, > > > > -- > > 2.25.1 > >
diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index 3078896b1300..27a73ff72614 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -217,7 +217,6 @@ static struct rpmhpd *sa8540p_rpmhpds[] = { [SC8280XP_CX] = &cx, [SC8280XP_CX_AO] = &cx_ao, [SC8280XP_EBI] = &ebi, - [SC8280XP_GFX] = &gfx, [SC8280XP_LCX] = &lcx, [SC8280XP_LMX] = &lmx, [SC8280XP_MMCX] = &mmcx,