Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp755921lql; Mon, 11 Mar 2024 17:21:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4sGAIvKVFa0krFvSJzcZcBGHMWZN6w6eGYZfM50BSQI3TpZ9UZY5tVlx5qFBbzUaD2yW1LnPt1CTXkX3hPPbg/qncWedhOjMmK7WqiQ== X-Google-Smtp-Source: AGHT+IHyPYkwA5aCRs+CWeYFziuUxXsUXpXoFH4L2rZ9Cxgo9kES7hophlEkur6nFUKAUkT1gsaA X-Received: by 2002:a17:902:f648:b0:1dd:88d5:bef5 with SMTP id m8-20020a170902f64800b001dd88d5bef5mr7947268plg.44.1710202876803; Mon, 11 Mar 2024 17:21:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710202876; cv=pass; d=google.com; s=arc-20160816; b=tei3QpCjaIFuDZHz7uWtef/UG4aMGlmflNX/RVVk8fhLV+Uwq157+TnzJxhJvW3HDR JqxkcfsZ3cQa2ZrW0YE2UP2UI3HU6Q26r8bqV+YPmzEOClBCwS7MArbSZA+1v3Hj0dwp WCR9rtxg0/jEx6OilZfw99a02+AayJ9cYH9NoasHmGRUXVbKQ8mmXUzmC8QqEnqfiHbT 6TeenwT+KVweDvWYa45KqWi1aYk8pTLhpQIsX7+LTfuQcO31dzA6uoSlJVfn4BHx/hR4 UmBvbgAe/uYxEy/hnKanHGRmeUjaCHI1vaWKX6AAcVd+v9ysBc7Ir7b/DOaS/gs5WEeh g6dw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Y6Qj+d193V6vAwzUIxkG37xPPAUPTTqW49/CnKjXQd8=; fh=OSiUSpDwPH1CJt+NLNjU2cHpL/BIWEkTMTcSu0PkHXQ=; b=rVo7esr9QVcyrEKRHjl1jMveMwweSVlG1oejtr4XyEwPMxnsMV6lSOGVfGdP19VZHb Gfz/SyKoUtelbdQY3I9aO3TL0JBbDm7FXyzh/bJAmab1ZMEnVGvyR433EOKNz/vTOgNS FcfT5Kl3A+4j1d/N95nMI9tklUtcSnDm1HsSUgRcaASEKZKWUDB5rxoRyU9IP8xNncfY S7jvj7v3JJh68ekx5hvo6qdGjxQ56UJvlHrp2U2h52Y0pjdUZrVcgG66BpW4RdwqmyOK dA+K7plBXLwaIgq+yV2uSADDTMklk873WKdxJqwIGk6k9NQbs0Ulu25JvG71jyIeFfjX 7eMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XLDSB4Fd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-99694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99694-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o11-20020a170902d4cb00b001dca617fbfasi6042001plg.289.2024.03.11.17.21.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 17:21:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XLDSB4Fd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-99694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99694-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 25B16B214B8 for ; Tue, 12 Mar 2024 00:20:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD455EC3; Tue, 12 Mar 2024 00:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XLDSB4Fd" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CB93365 for ; Tue, 12 Mar 2024 00:20:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710202829; cv=none; b=cFh4pYQowb1xsdIi54YEO0hBSW5zMD6WJHbEuodK5vEaXSXcAXllOG3Zt4XoE7PoccVFYSWpI52inE5RiiirVFPD4LcGNBoIk41b2+t+iG2d9m32Xp1LCrIC6jTY0Rp8iwG9ifdwKHcN+nwvceulQvf1cHDSnDvd+o7QsJyukqU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710202829; c=relaxed/simple; bh=qOWrAr6bPBzvoLLPTAz0C9dXtVXWGeptHGJUKAp80jI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ee/NofHZsGGRUQ17ParfIyoZ8PFg+f+kSCPT4OzgaJt4LIsDv/gMLTQcjhOwHdpwl7cyFd5ktd2eEg2OWSiINJBhcv7pxBlwtM62lID6RZvvTZsUXqIF43oq4kGS/ni9yQdLNQkZg8wGe5MLINAUue0fZHRtQi4z7OvRVr9R83U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=XLDSB4Fd; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-5131c0691feso6421202e87.1 for ; Mon, 11 Mar 2024 17:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710202825; x=1710807625; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Y6Qj+d193V6vAwzUIxkG37xPPAUPTTqW49/CnKjXQd8=; b=XLDSB4FdBk/bUYUOETupj4Y9F7zCzjMPvV3v8EdyrilZD1mNzOzS9XPj+E9ana7BB0 wokXsul0lFauejKPy7Px0ZeYW758jQIslw5+GbugZ8M6XtT8Z5AGkw6d4CMaB9i9jIoa C1Y/Ds9ldqCHum1VxLVkvlt5fPFZqfQlAjPHwozHdXviHimKMd3no2Rpz4n2EJ099ZaW 4UBCIdbm+O0eWvsC6kXN4hhmDybKeorC0HA20WRUvyygaHPyB34KocfIXiZFxTEalnKc YryT21aUl6tUmoAjiyIEyYrv4VdDbVlxXpcKCCEP6D44ZWruZkomyhjlX1f5Iom676jl wb9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710202825; x=1710807625; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y6Qj+d193V6vAwzUIxkG37xPPAUPTTqW49/CnKjXQd8=; b=YmY/jWxI6q3r2qV75NXiNgYDh7uEw1rZMenEGdIfzUKYfQlJ3LsTXX9OVecSiX6ZNo JODX0wWAv8BkLiqSVJw094rFTtdm06kG/mTAT5YnLBh2QbfiUcsOk9M9eI7VeGGbZ0/0 33WknZkATMJ2xUwt0W1lg4Iuu88h+vFqyYsq19aY/IXMI5Is3fuSAPS7mIyvi6dYGh7V hlFZpQ1WXDmMymbXzQ4vcc3lXyPQag+oeBpjRq8PrKyHs3eQw191MvPnJMPmV9ma/auy W2aDhvExkKAk9HvS0/o5VLJfB3pcC/+vsSdlKN/ii62Q5fL1g8tbf2zBGSNS9oT+9rJO onUQ== X-Forwarded-Encrypted: i=1; AJvYcCWwc9ASXJjfW3EMa8z8vYrmXG3kJ2/AqQN8LqAw49X2lfx1A6Hz5vwBuwsDE7rnczw6txtZMjNqKZ2Ip0K3GajiOV28kYzw/Vzrohbd X-Gm-Message-State: AOJu0YwRiiuq7cAuQ1W2+WHGoAnlAK7eACuPj1eO3pCubDweB/b38G9a AzzrwNEDKPVsP03Jx97VdGKzQSM25gtjNekWaML6osidUqlowa/LIvbLkES1nP4= X-Received: by 2002:ac2:485c:0:b0:513:c3:1d94 with SMTP id 28-20020ac2485c000000b0051300c31d94mr4909736lfy.52.1710202825462; Mon, 11 Mar 2024 17:20:25 -0700 (PDT) Received: from [172.30.205.61] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id h18-20020a056512221200b0051354f006b9sm1316460lfu.56.2024.03.11.17.20.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Mar 2024 17:20:25 -0700 (PDT) Message-ID: <58d5b209-94f6-43be-89e0-b14f5e30fd8c@linaro.org> Date: Tue, 12 Mar 2024 01:20:21 +0100 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 6/7] arm64: dts: qcom: sm8650: add GPU nodes Content-Language: en-US To: Neil Armstrong , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Will Deacon , Robin Murphy , Joerg Roedel , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Krzysztof Kozlowski References: <20240216-topic-sm8650-gpu-v3-0-eb1f4b86d8d3@linaro.org> <20240216-topic-sm8650-gpu-v3-6-eb1f4b86d8d3@linaro.org> From: Konrad Dybcio In-Reply-To: <20240216-topic-sm8650-gpu-v3-6-eb1f4b86d8d3@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/16/24 12:03, Neil Armstrong wrote: > Add GPU nodes for the SM8650 platform. > > Signed-off-by: Neil Armstrong > --- > arch/arm64/boot/dts/qcom/sm8650.dtsi | 166 +++++++++++++++++++++++++++++++++++ > 1 file changed, 166 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi > index 62e6ae93a9a8..27dcef27b6ad 100644 > --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi > @@ -2589,6 +2589,128 @@ tcsr: clock-controller@1fc0000 { > #reset-cells = <1>; > }; > > + gpu: gpu@3d00000 { > + compatible = "qcom,adreno-43051401", "qcom,adreno"; > + 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 0x0>, > + <&adreno_smmu 1 0x0>; > + > + operating-points-v2 = <&gpu_opp_table>; > + > + qcom,gmu = <&gmu>; > + > + status = "disabled"; > + > + zap-shader { > + memory-region = <&gpu_micro_code_mem>; > + }; > + > + /* Speedbin needs more work on A740+, keep only lower freqs */ > + gpu_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-680000000 { > + opp-hz = /bits/ 64 <680000000>; > + opp-level = ; > + }; I got a memo from krzk that we should be sorting OPPs low-to-high, could you please reorder these (and under gmu)? Otherwise lgtm Konrad