Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2262480rdh; Tue, 26 Sep 2023 18:56:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmPZYOaZDrlu06LCJ5D7RZFS8VgFQk6pl0tFffQh0uOBxm0/h9QUiiKyH4Kk6O64Z3QyO1 X-Received: by 2002:a05:6a00:2493:b0:690:1857:3349 with SMTP id c19-20020a056a00249300b0069018573349mr828209pfv.25.1695779764495; Tue, 26 Sep 2023 18:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695779764; cv=none; d=google.com; s=arc-20160816; b=HsFiFgCiu8TStT+hHeHtIYWzNJMzpFhmJ6EhIjIQzoDgBLNOi2aZMrB301SLVqRvhm iWbSKv7qmikq1X9DPqx7772pm3LDtqXXFMmHPKsWHj62KJarTaf3+qVOAaXzrjg2H121 ZeWCGZEzAXJDnCSaARRvhHQYMW96nCjraSFfTddToSTJhK59PyPqQHG8BVs620kcwxUV Z2xuQQIuJal255nQAC2pthCY8TUkSpZhKDExsywVTH8iCyzz0xDVkPhHaSMPC30Zr30T 1o8C3Rjamhq+Vn3fD0yh3AQS5DSDMi4KnEpNQwHPNgh//+RrHc195NXn8pgFevNX/m6v Gqow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=JSsmJJyHe36J6r6QQN8EBPervMH/lsHyGZmLHEQGT3w=; fh=mlIZHPbN87mtISF6MqYNWpjXSb9fByWKfC3t5kuxP6o=; b=MnzQqNJobA8BqYSk7MFFxpEE0pHGwSxyYkzFsh8EqzjPIx8BFKUx2xI1eH82C3gMOA fL7Jwfivj86I+8Ia/fqeYkZbmMYQp/eXiDd+03LzykvZUWXI2ezNqS5U/lvgE7JLPYzD 7tra5qsIy5BsLyRqBrpzVXD0E/m+C26VmynV1Ddl0kbjWG8Z7/O+oR9Mgc3el60VpHlJ jLoigviY0KJ3F8Veo/QfmeeO3o7ZPcw9ijj5XEObK0S8JtRhFhMimvI7dQnxH/kWaakn w37RDfQDomKO1yr1qvE1tb/4elSjnYRMDvPMZRIdeOTt0ihv6vAHndrGAblSiBnIz8Tc lvww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qRef7QQ4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l3-20020a63ea43000000b00573fbbb7803si13567324pgk.613.2023.09.26.18.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 18:56:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qRef7QQ4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 19E6681DDBD3; Tue, 26 Sep 2023 11:25:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235552AbjIZSZG (ORCPT + 99 others); Tue, 26 Sep 2023 14:25:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235513AbjIZSZA (ORCPT ); Tue, 26 Sep 2023 14:25:00 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90DF6F3 for ; Tue, 26 Sep 2023 11:24:52 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50307acd445so15084053e87.0 for ; Tue, 26 Sep 2023 11:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695752691; x=1696357491; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JSsmJJyHe36J6r6QQN8EBPervMH/lsHyGZmLHEQGT3w=; b=qRef7QQ4Y0aE/PfLnNoJhKKwy3B2TYzDdfrvuoUXh3IbUnkdzfkGyGIcQKjQqGeQ3Q wu4SEEUCpIhGJEttpiLU9ngucPS+xS0ifvAo4uVZGeJ6Kc7XruNokiJkEWrn1sLU2bUb 0XPPMvT5S0m8nmY1dBRMq09Qss89sJ9Qv7MKrx4DpMIUq62Ov4yuftKLV/IPgFwlY6VC D8ZJH/VTqJVKA9Lqa9wMm/5Kdm9otCjxo/hJe9g+NptWcRe1nGV2ULiqy6DOWFLV1dqx /bLLJHYQn6OYWoEz4fHcwmF3x/erOoW0GEQdF1dWmbnfOrpwvzGy10dDqzys5cukkwUR zKDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695752691; x=1696357491; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JSsmJJyHe36J6r6QQN8EBPervMH/lsHyGZmLHEQGT3w=; b=RvCse+baBNHPZksmvZlxf4kg7E35rX0g/g9rlxWSjwWVtmqfxFpHwWqBHWJBeQ46Fk F4G88B3x4TQ4v+KNBsxk0xSNFKu5c8qDZbpKDSyzkiObtqNstInEUXmhScZCcYLdoL19 f+HyEOGqT/KPWekARrDc8yqhW9RWg7mWXXh93I1H7uDh+5fdTyGwXe7rmRlqZ+0XE+Tf Xc8+OQ/XICMzbdiq3ZQK0yrJe47joySVzxTV3ae0GKVM9xuTWz+HEtPmbRM01qteU6+8 2Yqr6REa7eMZtrLDC9vKxnbsvxesyNaFdBtlFhS2wPPCyMHPQ6ROtC0BKN3pOOinFRjf 2fAA== X-Gm-Message-State: AOJu0YzVS9pltyLMmGr2FIXJyh5m2Vaov+YUM1+k+J2N7Vrr6OF9NiBd ekTh7m0ijST8gdOR+/PsW8+4wg== X-Received: by 2002:ac2:53ac:0:b0:503:2877:67e3 with SMTP id j12-20020ac253ac000000b00503287767e3mr8396426lfh.6.1695752690659; Tue, 26 Sep 2023 11:24:50 -0700 (PDT) Received: from [10.167.154.1] (178235177023.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.23]) by smtp.gmail.com with ESMTPSA id f19-20020a056402151300b0053090e2afafsm7020643edw.22.2023.09.26.11.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 11:24:50 -0700 (PDT) From: Konrad Dybcio Date: Tue, 26 Sep 2023 20:24:40 +0200 Subject: [PATCH 5/7] arm64: dts: qcom: sc7280: Fix up GPU SIDs MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230926-topic-a643-v1-5-7af6937ac0a3@linaro.org> References: <20230926-topic-a643-v1-0-7af6937ac0a3@linaro.org> In-Reply-To: <20230926-topic-a643-v1-0-7af6937ac0a3@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Akhil P Oommen Cc: Marijn Suijten , Luca Weiss , Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1695752677; l=1149; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=OKCYVjhQ/19k9GeBxxh+l0sjJaWU5GkjdhxKB9u2/vs=; b=9SVEap5bj9/9iIFUrp99rqRpCkF1yJSJnavWYyJzILyjurm26Pij46Bw+/KnOwd6frqVCvagj hxwquK7i3gkByj7w1dl5dnEr24gj8ym5NJr5mweF32LNem2LLWjiRad X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 11:25:19 -0700 (PDT) GPU_SMMU SID 1 is meant for Adreno LPAC (Low Priority Async Compute). On platforms that support it (in firmware), it is necessary to describe that link, or Adreno register access will hang the board. Add that and fix up the SMR mask of SID 0, which seems to have been copypasted from another SoC. Fixes: 96c471970b7b ("arm64: dts: qcom: sc7280: Add gpu support") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index c38ddf267ef5..0d96d1454c49 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2603,7 +2603,8 @@ gpu: gpu@3d00000 { "cx_mem", "cx_dbgc"; interrupts = ; - iommus = <&adreno_smmu 0 0x401>; + iommus = <&adreno_smmu 0 0x400>, + <&adreno_smmu 1 0x400>; operating-points-v2 = <&gpu_opp_table>; qcom,gmu = <&gmu>; interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>; -- 2.42.0