From mboxrd@z Thu Jan 1 00:00:00 1970 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 07F6419DF53; Fri, 1 Nov 2024 14:46:33 +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=1730472397; cv=none; b=tx2G3koyfja474hztVzI0UnwcOIQyX8otV3+F+50kaMqahnzFnWG+TCOyIGCk1+bz6cWWk2nWdwxLLgTucRMHds8JthIVmJxdOgAFaGh52SuyXza0BYiSMr2XnoKi+ZspqzI0BSKW5BN+nzI6Jofr3Axj3xk20/O1/LzGlNTXek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730472397; c=relaxed/simple; bh=HFM2a0nZ9oxigt5z/2kVT31XUPceVGQw1v1GB93q8sA=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=EpLurSSlWzSAuLawTrLJ2GyIWhEfmGI3JrdsRCqvs9MirlaY8aV/F7iO3B+8TJ0zx3cZRycQV69ZwA00c+4DOpZK1OfqpecFG+AhhAA9cBE/hb+lObi/w6aBnjj6TciQEie7wqFPwixXiydFNuxlh76tP8Ivxs6NS/jSb6NrRPE= 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=mqdClHgj; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mqdClHgj" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A17oRcv031368; Fri, 1 Nov 2024 14:46:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= vSZh/VL+eZxY4KjJ6Qd3gyTjkbotFVi8Wrc40OfL8bs=; b=mqdClHgjQ1i1X9/I ZrTbqWoepHTMz/9qfZXOqrp3FuKFT4fgFGiONmA+973Ra5aQpt37cLzoHYveyCPT oivkRml7HNRWIgxMdXcZokWfnYXHKBCvROYLBbMaJ30u7w22GDBUhRPkBzsTO56d LE5B9GWKC85QBdj+nhYgxHRvwDlltejQN6NCZ8H4x8vZVXW5QVQXY5JbMZPhsEuS N6M/hr4xPDIeY4EhdCxF/fyXuG8qo4b/djOO2vayvP25NFxs9SmaGvCOy05K2adx AmJxlUylF/UHe1w3gsXFHsH/cLBFmOnOhcLSJrbEYnSw90gU4GVRcDliF74F6kKf ifhNzg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42mtxw1b0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Nov 2024 14:46:12 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4A1EkB5f003553 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Nov 2024 14:46:11 GMT Received: from [10.206.104.82] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 1 Nov 2024 07:46:05 -0700 Message-ID: Date: Fri, 1 Nov 2024 20:16:02 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes To: Konrad Dybcio , Rob Clark , Sean Paul , Konrad Dybcio , Abhinav Kumar , "Dmitry Baryshkov" , Marijn Suijten , David Airlie , "Simona Vetter" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Connor Abbott CC: , , , , , Puranam V G Tejaswi References: <20241030-a663-gpu-support-v3-0-bdf1d9ce6021@quicinc.com> <20241030-a663-gpu-support-v3-1-bdf1d9ce6021@quicinc.com> <14a7bfdb-7106-4317-a54a-e0101c41cba1@oss.qualcomm.com> Content-Language: en-US From: Akhil P Oommen In-Reply-To: <14a7bfdb-7106-4317-a54a-e0101c41cba1@oss.qualcomm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: iqI3yyRpzU3I5Dq18L23u_DPl-9cfksw X-Proofpoint-ORIG-GUID: iqI3yyRpzU3I5Dq18L23u_DPl-9cfksw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 adultscore=0 spamscore=0 malwarescore=0 impostorscore=0 mlxscore=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411010106 On 11/1/2024 2:00 AM, Konrad Dybcio wrote: > On 30.10.2024 8:02 AM, Akhil P Oommen wrote: >> From: Puranam V G Tejaswi >> >> Add gpu and gmu nodes for sa8775p chipset. As of now all >> SKUs have the same GPU fmax, so there is no requirement of >> speed bin support. >> >> Signed-off-by: Puranam V G Tejaswi >> Signed-off-by: Akhil P Oommen >> Reviewed-by: Dmitry Baryshkov >> --- >> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 94 +++++++++++++++++++++++++++++++++++ >> 1 file changed, 94 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi >> index e8dbc8d820a6..c6cb18193787 100644 >> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi >> @@ -3072,6 +3072,100 @@ tcsr_mutex: hwlock@1f40000 { >> #hwlock-cells = <1>; >> }; >> >> + gpu: gpu@3d00000 { >> + compatible = "qcom,adreno-663.0", "qcom,adreno"; > > Is the patchlevel zero for this SKU? Yes. There is only a single revision implemented downstream. > > >> + reg = <0x0 0x03d00000 0x0 0x40000>, >> + <0x0 0x03d9e000 0x0 0x1000>, >> + <0x0 0x03d61000 0x0 0x800>; >> + reg-names = "kgsl_3d0_reg_memory", >> + "cx_mem", >> + "cx_dbgc"; >> + interrupts = ; >> + iommus = <&adreno_smmu 0 0xc00>, >> + <&adreno_smmu 1 0xc00>; >> + operating-points-v2 = <&gpu_opp_table>; >> + qcom,gmu = <&gmu>; >> + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS >> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; >> + interconnect-names = "gfx-mem"; >> + #cooling-cells = <2>; > > You might want to hook this up to a thermal-zone right away I am checking with our Thermal team on this. Will get back shortly. -Akhil. > > Konrad