Message ID | 20231220-sa8295p-gpu-v2-4-4763246b72c0@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-9325-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp846195dyi; Thu, 21 Dec 2023 20:40:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbjWX4glo5EQLA2HYCUIvVM+vb96O7OQvAxEYo76/sC9KdbJsdUVhxDSr8qtRBVssDdjZZ X-Received: by 2002:a05:6a20:9183:b0:18f:9c4:d332 with SMTP id v3-20020a056a20918300b0018f09c4d332mr2322070pzd.34.1703220050001; Thu, 21 Dec 2023 20:40:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703220049; cv=none; d=google.com; s=arc-20160816; b=fSKkbZW0tQBFN+zO3KmlfsXsOOoNBJWfnRT8+gQpvipxIUeGSw8c44xxT8iwt2nlSV lBOqxQymqE31hlSoQ+9Zm16IEjB1SsL1Aj+1Scjcz/xUIeZRcOMDO93i+qVw9tSdnmKI N11bScHmxkGiMXDxWeW1vaOeka2Fd5ss7wlYX9zES1g0iAZJr86GqRZBulpStaZi91Eg 4e+AkTaYXwCO9mQ1AC2jDpDmwySTeSSmUKGRFseE7BP3JkvWkkx395f08ESYiREzFpR0 yEZAlRE6cXK+GkZ0EuF8R+hEeZMLY49XjrHNK7UGtBTUm4LVxRdNZy6gwdBcOfkPbuu5 SwxA== ARC-Message-Signature: i=1; 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=IrdyNL+OAIoOltyN15xuXBxy8MwQgeybyKwfH0WdrZ8=; fh=cDqKou/MPLU1EgQSItoiSR05MtOwJVTVLj4INM9cZSI=; b=aVtcxQEnnQtnusnqo59WOnTI1JcNS9pbnHcEVcq83u79Kg1Jck5qKsPv2Pt5UAPZdL Jr3FFoewb27/imj5ABmuIOkbLEiyrY9Zz5iPM1zCTzvFfNPAeyMkpBhFr2+o0NLgkd/N aQXkgGFlJiG2FKqv1xtp03Z7TT91PNeEXKlBulKXosT5tgHHxiMHM1N4tWpp9LHANCSO /hs1slRqu/1XXbdfclZ6OLmJCEHyUwcEhqeIDOxObV9dOez3gf3mCj0mSTIu3XaIZizA NmxU2W/iANH11CJQOuxCu2BbIoS8+1S1hGoVxizNMvHMIqx9M8i6anH83w7MYiWv9qqe Zrig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A1StPiid; spf=pass (google.com: domain of linux-kernel+bounces-9325-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9325-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h7-20020a654047000000b005bdbcdc9e3dsi2722923pgp.142.2023.12.21.20.40.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 20:40:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9325-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A1StPiid; spf=pass (google.com: domain of linux-kernel+bounces-9325-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9325-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C2F3C287146 for <ouuuleilei@gmail.com>; Fri, 22 Dec 2023 04:40:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E333AD527; Fri, 22 Dec 2023 04:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="A1StPiid" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 DF60D2115; Fri, 22 Dec 2023 04:39:39 +0000 (UTC) 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BM1knkK024224; Fri, 22 Dec 2023 04:39:26 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=IrdyNL+OAIoOltyN15xuXBxy8MwQgeybyKwfH0WdrZ8 =; b=A1StPiidFhrQHyk/Q7xZVRQ3cQQq1cwScdSjdQxWlPKBrhzJAvQRYsNeZvh 6D8Noe5XtKSFMZuP0CQHvJwpiUItMSz+GsAe4oo2HedKGpIB9KbPtZfxORrKPm1P pNZzUwmJuw8wg0ZX0JRO1E281K+rWWqOVMKU5XsMNJ6zKX9ygGcXEEGIELm/NE5e XYp1cgvo7pEZe53AUq25L3wyrNbPYpOZE3TG3USm51KcbbxkYyUEtDFbq0nU41Wh 8tBbQHBgtzCxdpk6uPwWYB0dPNMmhozEEld8+gP+3EKFItB1HOlgLz81HdiVk/1/ NIIiHxuDoA6DPtRRrz2pAKjOa8Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4kneagdq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Dec 2023 04:39:26 +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 3BM4dPF1004697 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Dec 2023 04:39:25 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; Thu, 21 Dec 2023 20:39:25 -0800 From: Bjorn Andersson <quic_bjorande@quicinc.com> Date: Thu, 21 Dec 2023 20:39:25 -0800 Subject: [PATCH v2 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: <20231220-sa8295p-gpu-v2-4-4763246b72c0@quicinc.com> References: <20231220-sa8295p-gpu-v2-0-4763246b72c0@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v2-0-4763246b72c0@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>, Ulf Hansson <ulf.hansson@linaro.org>, Johan Hovold <johan+linaro@kernel.org>, "Catalin Marinas" <catalin.marinas@arm.com>, Will Deacon <will@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> X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703219963; l=936; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=lN0i6/rarBEWOzmJz25l6RRnIzvHTkR8xp7fIgAvpHE=; b=wG40vfLr3ucRTnUHUoVu+77RwCHhgRUy+erqBPTFjTv1u/JvSMK58MeDeMWU+HWeac6clG/7EqzM l7yONUjVCXrIjA+vI32lUKvg7YMSJJubc3YsTxw2Qs3QrDiplfXn 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: T0mL0nXF26oMmu3QP4asyv2VIM50G78g X-Proofpoint-ORIG-GUID: T0mL0nXF26oMmu3QP4asyv2VIM50G78g X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 mlxlogscore=958 suspectscore=0 spamscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312220029 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785955667537366754 X-GMAIL-MSGID: 1785955667537366754 |
Series |
arm64: dts: qcom: sa8295p: Enable GPU
|
|
Commit Message
Bjorn Andersson
Dec. 22, 2023, 4:39 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> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> --- drivers/pmdomain/qcom/rpmhpd.c | 1 - 1 file changed, 1 deletion(-)
Comments
On 22.12.2023 05:39, Bjorn Andersson 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> > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
On Fri, 22 Dec 2023 at 05:39, 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> > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> I guess it's easier if you funnel this through the soc tree - or you prefer if I take it through my pmdomain tree? No matter what, feel free to add: Acked-by: Ulf Hansson <ulf.hansson@linaro.org> 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,