Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6281909pxv; Thu, 29 Jul 2021 10:33:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIR7fhl3esM07u7ovKsrkCPw6n9JSRfu5LTeSlFc693jS+y9P3uzK4F1xpRaiGINK49rlO X-Received: by 2002:a05:6402:54f:: with SMTP id i15mr7506779edx.24.1627579998504; Thu, 29 Jul 2021 10:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627579998; cv=none; d=google.com; s=arc-20160816; b=UWjtyEFK1IWe5SrBKDdVsNBSZuuYLWSnpmDfMRjZkaeeoad9i7sqSMCfOHI+LLCN9X 4lo0FDU/lOXtKbsKPv8kypZzkwcG9VS1jm9dtlPKDJPRzBUNVIoxB81yjQMVMu8PDKUZ wyV/ndQgBFPv0l2kN/mWlNXia5HYCstztuPGmisf8lW4dJkUskT02Twtb2QTYZL9JZTp v0+lAnNo8TvekBkFJ+ZsWfwvfsG4SDh9nNB0inrkZYhvJF4KP13vJm5p6rSuf+y1fWoM zXDJi5q3BzLMh3RNNthF+1wwQ/LELxlTWVTfFSUqRODMBI2MlbzR2hjbC+WWuTyEqxDL DZIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pnVzhT/kHdPgZUP65cfJqBoONaapfo5r8e0MrAlb984=; b=GQuqQoNGws5I8Esi+fOD4W5KaKmssU2sFxlBNiYOfI8cByEh2hcNv1HSFbGuyMBaVG FocswtRaNYhxFOAWapG33GeWVO4M70g6GXebSJoDTsrq/+lEJohRZy1Bm37VO4bicrTD QWpdjmT6SIjoy3uQ6FuGby2gmpOFmbKJItNs42xfk0RvfFGz6dyLO7oI0cE4sYsf46rQ Tp47Yjpz1si0mxC51I0gRIq6CZr98WH6hsyo49biioycdL6i1wUo46vP6hVVxLc6HIj4 BClS+mg2du8g6AJayH0rLAm9m0BGmVwXs6SVXEvfq7iSGIRnvvhBF0q9H05JqJgpRK0R kmBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jaC3Qwjj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si3596075ejz.183.2021.07.29.10.32.54; Thu, 29 Jul 2021 10:33:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jaC3Qwjj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232146AbhG2Rba (ORCPT + 99 others); Thu, 29 Jul 2021 13:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbhG2Rba (ORCPT ); Thu, 29 Jul 2021 13:31:30 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99B0BC061765; Thu, 29 Jul 2021 10:31:25 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id j2so7856246wrx.9; Thu, 29 Jul 2021 10:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pnVzhT/kHdPgZUP65cfJqBoONaapfo5r8e0MrAlb984=; b=jaC3QwjjviykfCntbsWoFJDNF21xu8yghmN2KvvaAwVUR4mtfATAQuHMPuqadbtwUo enKV2slTVRgfCP9UgZzJYDTlQzdrKjzXg40LcjUTktctC59CEkWGBuKgJOqn3kcVELDN Gqxm5cr4MEyeN4XO3INSQNXopzzpjPCRuzeAqoaougPd45yqEiG0QSflJ4YmoIPr+AG2 C19SzpImiBO3ayVtb+QZgtJZkr/k/yLA40n2jxJGvVR/esMJm87HNs/Zm41DwU8GfwaN egcbUqeuxrXgU6aRr8UnTTrN6e03v1GHu4m4OBgMNOkR0Q8S9CR9s+XfGM23/WP7MRAM 7eBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pnVzhT/kHdPgZUP65cfJqBoONaapfo5r8e0MrAlb984=; b=LtaCzrn8Uas1y2LurY07RxsIL9eXbafMdZexY8GSER3/kBRXZyjsCOTMqHMvl+7x2s HoCyXwM0N/7JFGv0Tr0ABHtM3DZrk/tanwNW4RKkxmwEMumq/I415bQDjdePnnl04YIy yEtO0oNP2/hkovrT6mfXQ2ZdycR+eqye9nT5OFR1iirTO7GSNRhrDlMNuCbmfiRaYoNj ioZ8pjcsH+3rz8e8pMiVGBpLTLoFxMz3FAng8ZVP+uLCAx/gd40x9iRPJa4TAUFjpFe3 flNhhTxAVUAUReTuixV64UtyBNFyCjf/aW23FeCydB4vPIYPWvKIyNslW+E4+9m6EdLO z8cQ== X-Gm-Message-State: AOAM531D9FkAhVaEpRNKgk8RTO037oulgBKaZYM+lHmX7hV2GVF6AGkc vBpcDA9aade/OIZn3SPnhHxJqum3nKz35mUlo+I= X-Received: by 2002:a5d:4348:: with SMTP id u8mr6400529wrr.28.1627579884127; Thu, 29 Jul 2021 10:31:24 -0700 (PDT) MIME-Version: 1.0 References: <1627473242-35926-1-git-send-email-akhilpo@codeaurora.org> In-Reply-To: From: Rob Clark Date: Thu, 29 Jul 2021 10:35:32 -0700 Message-ID: Subject: Re: [PATCH v3 1/2] arm64: dts: qcom: sc7280: Add gpu support To: Stephen Boyd Cc: Akhil P Oommen , Bjorn Andersson , Manaf Meethalavalappu Pallikunhi , OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS , Rob Herring , dri-devel , freedreno , linux-arm-msm , Jordan Crouse , Douglas Anderson , Matthias Kaehlcke , Jonathan Marek , Andy Gross , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 29, 2021 at 10:19 AM Stephen Boyd wrote: > > Quoting Akhil P Oommen (2021-07-28 04:54:01) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > > index 029723a..c88f366 100644 > > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > > @@ -592,6 +593,85 @@ > > qcom,bcm-voters = <&apps_bcm_voter>; > > }; > > > > + gpu@3d00000 { > > + compatible = "qcom,adreno-635.0", "qcom,adreno"; > > + #stream-id-cells = <16>; > > + reg = <0 0x03d00000 0 0x40000>, > > + <0 0x03d9e000 0 0x1000>, > > + <0 0x03d61000 0 0x800>; > > + reg-names = "kgsl_3d0_reg_memory", > > + "cx_mem", > > + "cx_dbgc"; > > + interrupts = ; > > + iommus = <&adreno_smmu 0 0x401>; > > + operating-points-v2 = <&gpu_opp_table>; > > + qcom,gmu = <&gmu>; > > + interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>; > > + interconnect-names = "gfx-mem"; > > + > > + gpu_opp_table: opp-table { > > + compatible = "operating-points-v2"; > > + > > + opp-550000000 { > > + opp-hz = /bits/ 64 <550000000>; > > + opp-level = ; > > + opp-peak-kBps = <6832000>; > > + }; > > + > > + opp-450000000 { > > Why is 450000000 after 550000000? Is it on purpose? If not intended > please sort by frequency. We've used descending order, at least for gpu opp table, on other gens, fwiw.. not sure if that just means we were doing it wrong previously BR, -R > > > + opp-hz = /bits/ 64 <450000000>; > > + opp-level = ; > > + opp-peak-kBps = <4068000>; > > + }; > > + > > + opp-315000000 { > > + opp-hz = /bits/ 64 <315000000>; > > + opp-level = ; > > + opp-peak-kBps = <1804000>; > > + }; > > + }; > > + }; > > +