Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2581611lqz; Wed, 3 Apr 2024 02:24:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMVNPc58hyVOaWn0kkFud0ZpdNzElLdKT73zkEmmH3uXWkaKSh/ZLi/mKIzc7OLGfiht48YZ2UJtVZSPitoeiZltuW/a+gSSi1g1S/wQ== X-Google-Smtp-Source: AGHT+IGwCwATJR6ygl6TvZbj3pqP5pFqO6vMKPo6SfTliHFgU5xnBu1hruwKlbvvwmymAw+mKAoN X-Received: by 2002:a17:906:3683:b0:a4e:29b9:b6aa with SMTP id a3-20020a170906368300b00a4e29b9b6aamr1398156ejc.51.1712136258673; Wed, 03 Apr 2024 02:24:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712136258; cv=pass; d=google.com; s=arc-20160816; b=fIG87u1VUHUKGAbJ1pjYIXowRCc62OOPS567mAybuQIiAOJFYBxhIv7nNgoXWbRl0g jiiUhCoOeiT30wjNrDOajwYbB4z0/aKC76Y8qms9+7dbt+5EmOS1g9cMzygh8Fi+asGv JFGkUfKXKiRp5g+o8/z0KDlE7DJYPPYxTDjdVo2pAxZTJJ7Zl48+hco+5ZU57oKeofNz cu1Yiy9N2f7kCKHYrwmnFk8ljvn6iKXlNYXUuvt77s2RgUO5QtimJ7DMTd2dG0TSBQKr DtRNCuddTtTkXXBHpNxIgOLp833gAJuqG7hRCG4GCNhF73RtT/2yVOmVvxWQ+1loYhYi 97hQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=WbhmnXPIzCrrvRBigyA0rMaFB8Z2vGCr7i8pWlrM2Yc=; fh=n5cPh5ZcvTIKwmuexkipXYAn4UjV88SQ8QUZeKOl/Bk=; b=JpH/SH4CdifxriiYgryVKPJi5lTbXjEH8cnrqm23R6E5j/zr+xjAUFhN9j+LJiXVvq btQ2ag+z57HucXmWcnxjeB5jQEMzuj6ch9OSxFVU4pxGnIV8CKSzDfE5UvMz3MlL/RX/ PpVewNeyEhf6bAOmISGaVs510q3azHUUzWapWPho91YxYJGvd5QWjTowEOT8ldY6plkB yaidMWgd2dpm3uYsyFMG6ks9yT5qliJzIPPtXnbXhW0k3XVmwHWvxKbBLyjLzFbx1tZs pQUAyIBaIDofXStxV+Ofs5eIriIOarKy8YMyBkSLzkPa3Zice10pxlSrXI7BNHMuXTi0 AZdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zx58i6sK; 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-129338-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129338-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r10-20020a1709062cca00b00a4753173da2si6599730ejr.670.2024.04.03.02.24.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 02:24:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129338-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zx58i6sK; 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-129338-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129338-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C68C81F2ABAF for ; Wed, 3 Apr 2024 08:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DFF86CDBD; Wed, 3 Apr 2024 08:32:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zx58i6sK" Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (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 2AA9D52F9E for ; Wed, 3 Apr 2024 08:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712133119; cv=none; b=ALxYzXJFU8aaJpi7TeekRCzbh5x+k5/F2UmhQ2FYX1KfuAryMzMGbv8ORBB+wWbRoRECJ9f/oG0f2Z9dIer9YdHUb7r+k7dCsZmeY1YrLzlPOMW2cI3FDRETl0JpRcfuUan27BQuPGRgsaGtQ13bGRoApajH3WhICf55u6RxV/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712133119; c=relaxed/simple; bh=vmChG4RvS48/vCPeh8PPTRlNGv7OMCjK/SENk20N+WA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=oBlPvboKBoZ+ucmi72K2OeFW9/CzX6w7VsJyzJh8+wc1P1cK+5iF09S03N8aZuJ9353l4dGkri1sh02ujtPI9unEWHzQmxZ3KyPTeUX7IY0LUix8/d0616aDJem4jUpMx94F5mHiIbezBPLE1Uf+abHW2OKTrNzz0A4R9oN5GMo= 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=zx58i6sK; arc=none smtp.client-ip=209.85.219.179 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-yb1-f179.google.com with SMTP id 3f1490d57ef6-dc6cbe1ac75so548019276.1 for ; Wed, 03 Apr 2024 01:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712133117; x=1712737917; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WbhmnXPIzCrrvRBigyA0rMaFB8Z2vGCr7i8pWlrM2Yc=; b=zx58i6sKToEcOZ43pghDKLV84Py21o0kots8ZLsZawV8+aZAQ8smWhUlNCP359ZRFJ Ch2P8/xkDtT1E9jPNFAzJP8ijRj0hVV5/L5ogVCIUY4WvsZwULCish18LB9AGDs9rqGr Yb3ncCiuWk4wA8dSnj27fNs0KEwdkkqQa2H8GSlxFFnfCF4bg3d7BQnOJxyPuUkYosNs vHepUeyYwk9cyhwoIC+A1P/k2z5C+6TkOYG049ZjgAYDhCSMm8t8NYCOr4j3yh1Jchms FzPN5djKjMd2CqF+9AONPDS2bopgkVZ2ICYcIaeJm3BVu2eemsCSWAk6uwJ6tVkVgake Hc3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712133117; x=1712737917; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WbhmnXPIzCrrvRBigyA0rMaFB8Z2vGCr7i8pWlrM2Yc=; b=CNcLfBsgQHTb3PAqN2dDIGK0USA82TumN13qqQ8E1yVrH5zkUlhUuxywQIS53kM7c0 ZFGQNa8DaVO3AS1PjsteUWPLxLBiBEGPJgRCIVLFSRf67uptrivp34DQTS4SqEMCg7Tj qj1y8cJ9Hv3RHz3lZEh51+vw3cOFtQQqNng6l//xNteM5wLYoHyF/Ara97T2ZNq4cTGx r0G87NNlZTXHP6LPQ6caWS1lO4xmhDQVWIkyhrAgubno+g0muro9X19JkKcY5jIwrLlz JQtYOx/m9ZLQwwLyNu1esk+CJKKQL1LM9LSa76EYWJ2s0ejoJRTEbC0VbZvVPv1OM/jV +NbA== X-Forwarded-Encrypted: i=1; AJvYcCWr06QdLFY1Dhcmf5bkiqJVKvRAAMKTuPddL38+NugI9whGmsH3j67aQ3lmNLUX6sD6Vx5YI0405wXswXekqdWZ9SGN+DL6a4CbGwFe X-Gm-Message-State: AOJu0YyoFKyg5pqSuP2C7zUm4qxpLhpemhJgHOJfVRpGaSsbkjzvvtSa wska8Hm487HPGGK8VRZliEchZ0pa73WTp44qOZSdDAntR9Q3gK3OBvRbGPCgeU6AK8pUtbI77Xg xlvIrLzGBgDailz0VHUamF0jhd/YmdP+BNy7P3w== X-Received: by 2002:a25:9102:0:b0:dcf:bf81:5f28 with SMTP id v2-20020a259102000000b00dcfbf815f28mr1242801ybl.0.1712133117093; Wed, 03 Apr 2024 01:31:57 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240402-rb3gen2-gpu-v1-1-a51bb6080968@quicinc.com> In-Reply-To: <20240402-rb3gen2-gpu-v1-1-a51bb6080968@quicinc.com> From: Dmitry Baryshkov Date: Wed, 3 Apr 2024 11:31:46 +0300 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Specify zap region for gpu To: Bjorn Andersson Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Caleb Connolly , Komal Bajaj , Naina Mehta , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 3 Apr 2024 at 06:33, Bjorn Andersson wrote: > > Without the zap region defined the enabled GPU will, if able to find the > other firmware files, attempt to initialize itself without the zap > firmware loading, which causes the rb3gen2 to freeze or crash. > > Add the zap-shader node and define the memory-region and firmware path > to avoid this problem. > > Fixes: 04cf333afc75 ("arm64: dts: qcom: Add base qcs6490-rb3gen2 board dts") > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > index 63ebe0774f1d..5b81b5e0b4ce 100644 > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > @@ -471,6 +471,13 @@ &gcc { > ; > }; > > +&gpu { Hmm, Is the GPU enabled by default? It should probably be fixed. I think we usually do not enable the GPU by default on SoC.dtsi. But now I understand, why it is marked with Fixes: Reviewed-by: Dmitry Baryshkov > + zap-shader { > + memory-region = <&gpu_microcode_mem>; > + firmware-name = "qcom/qcs6490/a660_zap.mbn"; > + }; > +}; > + > &qupv3_id_0 { > status = "okay"; > }; > > --- > base-commit: 727900b675b749c40ba1f6669c7ae5eb7eb8e837 > change-id: 20240326-rb3gen2-gpu-4343c5dc7e40 > > Best regards, > -- > Bjorn Andersson > > -- With best wishes Dmitry