Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3590149rdb; Wed, 27 Dec 2023 12:21:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCKYvv9CfJkv4uQsXGldPeVzmBL2QcXH9BTPYXCUpl9XAr9sXlvQ0qmCLq594yqfcoC913 X-Received: by 2002:a05:6214:480a:b0:67f:b28c:a69c with SMTP id pa10-20020a056214480a00b0067fb28ca69cmr8125537qvb.94.1703708517383; Wed, 27 Dec 2023 12:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703708517; cv=none; d=google.com; s=arc-20160816; b=n2umfUawgAjFxUfbStNt2bEBCXrS0LLVdRRtOsJsy8QV5VLxma905p7lIHtnohY/Z9 sLIvP3JbWljJjD/eaJUsry/fJU58egMlOl1JnESQmJgk4R1NkbTSpz3lhtGm3PyHq4Ka ngXzZnfq5I4ZETINbg0knm0bD4zp6tNENy3AfOmU6vJeGlk/T0islUCFDHcpK26h3BzL I457lAeQ1PVpr1jPA5ZkSIpUVE8Htahw2yRHkQMTFoX4NuN5xNvynOcNKvWLWyeXykCk FhhNX+GRsbWs9Ey0f+5eZrQW9cgO4ju69wrHKoQcDD6uvGtUaUhmaSW+OeEoX/PI2Jb8 RmNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2quQCISfmXXvAuqhivENf6jVOT6ATrMLLpI3zefedDI=; fh=/K8bBgTZQ/Lt6TRqZpV7dpnhAe8jzUQHGU60ukBf0W0=; b=l8mnu3WoHnaWeLWgnrRC3iK91kuIICwFUnogOjPPx1vHsHQ7y4YiH4vi3oeW9lrOb2 ANTD2VuSv63UBowcYKVaJa9dowjYyE+lwWhBkVzm1v78tdkB1cKFOxC2/CwcJH6OR1xD ZtY+i8k0UBT8Rop23QWUDETwgFDKZSQR2it9agz6wWgwBn8Rh0pf6mX+M/sBVQkMJfpI HcXnKcNFBxepRcssIGMvYWbUTKniblUX7ny/uHt42aGBQw7OUoFrpNoYD2FFozVQz2zz QH6Dx/c9C3uOqjaKOJdM/bafsgUcx6zGRO9Ho7LcyW4pGps74r861uShX2nZXpQYDNCo l3fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=P3WGgsZm; spf=pass (google.com: domain of linux-kernel+bounces-12238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12238-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v14-20020a0ce1ce000000b0067f97827247si12312955qvl.541.2023.12.27.12.21.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 12:21:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=P3WGgsZm; spf=pass (google.com: domain of linux-kernel+bounces-12238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12238-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 248CE1C225B4 for ; Wed, 27 Dec 2023 20:21:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10C6547F68; Wed, 27 Dec 2023 20:21:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="P3WGgsZm" X-Original-To: linux-kernel@vger.kernel.org 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 CA87447F46; Wed, 27 Dec 2023 20:21:45 +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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BRJvPqN020877; Wed, 27 Dec 2023 20:21:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=qcppdkim1; bh=2quQCISfmXXvAuqhivENf 6jVOT6ATrMLLpI3zefedDI=; b=P3WGgsZmFDboyy/qfXtOfJRWdAk/62UUyJI/s A+1eyQVCLWWWVq4wsAlkcd3YNo0b4nIoyqp6+Hrj73Jrzcg4fQ2ka7+l2X062EXR GKphQ60yjRXQRz+DkDD5z2PrF1O2SZcLyEupgN3u9V68fMm58vJ1qNx2pMg9dZwD KRSY+jlDS1uAevifo6aZQk+ijLIfouObj1TvvzLpeoLpmhOEWzWySL72G0ZP0DLr pc8EjbUPIlglsMFh3fdEPdVvT0uzoHmmXHeWhUGZNBKIOQOIkmIwSFiOrvMwlxM5 D0kkfRUEw2nVC8ekl29SMlw+9przf000taPcpDr/UMqN7n1Nw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v8grt14t7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Dec 2023 20:21:33 +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 3BRKLWsr007498 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Dec 2023 20:21:32 GMT Received: from hu-bjorande-lv.qualcomm.com (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; Wed, 27 Dec 2023 12:21:32 -0800 Date: Wed, 27 Dec 2023 12:21:30 -0800 From: Bjorn Andersson To: Konrad Dybcio CC: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , Catalin Marinas , Will Deacon , , , , , , Subject: Re: [PATCH v2 7/8] arm64: dts: qcom: sa8295p-adp: Enable GPU Message-ID: <20231227202130.GA1315173@hu-bjorande-lv.qualcomm.com> References: <20231220-sa8295p-gpu-v2-0-4763246b72c0@quicinc.com> <20231220-sa8295p-gpu-v2-7-4763246b72c0@quicinc.com> <4a1c18e3-39c8-4070-ae55-b1148b3dc65b@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <4a1c18e3-39c8-4070-ae55-b1148b3dc65b@linaro.org> X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) 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: inYKcTRVZQYCScIFDOT_tCHeQ41FmRKx X-Proofpoint-ORIG-GUID: inYKcTRVZQYCScIFDOT_tCHeQ41FmRKx 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_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=701 mlxscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312270149 On Wed, Dec 27, 2023 at 02:09:47AM +0100, Konrad Dybcio wrote: > On 22.12.2023 05:39, Bjorn Andersson wrote: > > With the necessary support in place for supplying VDD_GFX from the > > MAX20411 regulator, enable the GPU clock controller, GMU, Adreno SMMU > > and the GPU on the SA8295P ADP. > > > > Signed-off-by: Bjorn Andersson > > --- > [...] > > > +&gpucc { > > + vdd-gfx-supply = <&vdd_gfx>; > > + status = "okay"; > > +}; > Already enabled > No, we're disabling these in sa8540p.dtsi, so they need to be re-enabled here. I don't remember if it's because the attempt to bring up gfx.lvl or if it's the attempt to operate the GPU components without adequate VDD_GFX, that is causing the issue...but either way, we don't survive boot. It's possible that we could move the max20411 up to sa8540p.dtsi to avoid the intermediate disable, but I'm not confident that it's "part of the platform"... Regards, Bjorn > > + > > +&gmu { > > + status = "okay"; > > +}; > > + > > +&gpu { > > + status = "okay"; > > + > > + zap-shader { > > + memory-region = <&gpu_mem>; > > + firmware-name = "qcom/sa8295p/a690_zap.mbn"; > > + }; > > +}; > > + > > +&gpu_smmu { > > + status = "okay"; > > +}; > Already enabled > > > Konrad