Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp282373lqb; Thu, 23 May 2024 19:33:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIZgWgY8Fm2sqdvoLptJXEI++FpSyPJ55ig4vvQHT7pohkljXvvmr7xnfNdo3HsKQG6qPV6A/vlZxaGnXKUYvjTVn8X69T2Sg52NLQ8Q== X-Google-Smtp-Source: AGHT+IGxAvyNbHWZ/I9PA7iQw8gjlw6igYTM1LNNVPMnKXaFvbEfRnh7Vs1vX8R5SzUJvvBbyCXp X-Received: by 2002:a17:902:d2d0:b0:1ec:5f1f:364f with SMTP id d9443c01a7336-1f44883b342mr13902535ad.26.1716517985200; Thu, 23 May 2024 19:33:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716517985; cv=pass; d=google.com; s=arc-20160816; b=E57qbFkyxgo5MtO4rXLeAIUXjjLUwzAcJ+8+9SYCp2FSFfi048P9rm97UlVjQDNUri zh4prBTm6NIlwJyj+aDkJc5iMxRTqJIQKtnHZGVr7w+q/W/NX2KyR1AbiG3Ltr87sC5V UJlhqU5s+U0sYDEyAzHLo3+7TMFk3xgyna0Plj8zYlvAFXobWe39KaPT/P1cuLHjhS6a /zSGGz+GPhAJdPWV5aDvz6KrWFNkeIC2Yyk3sM2XErOXkVCRmsaXQCyqmsd4Zt8PA4nF BvakEGskETlMDne/Y0XHkb7VV1VGyk17R4NRHswj2S1lLeqZ65W0iNUUP0DBbS/EosXy nqgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=a3AIoCsxHaDYOOWTsHx+KE2SZ5HCC9Xn5cHj8hQUf74=; fh=jgdlMPCOfogHabKSaw+Te2hccurgsnOWQQrdEsBNwOo=; b=kg3f65LJ2wb2XOvgrDV/hSLlB0xW4UaRkerhi3NunfpDLLyvmRMC+CJ+HbMYEPaehH 5a3FYK9KLI+oPJjqcxYmGrtQIbkHHVz6prR5ccWnlAgazNX0dlbq4zkPxj6b1ContRQd gBRJyGHSk1LXc+vjk5oQv58KsZdjEs01PYXXoDzfMQGylY1WyvPB6ETn0Y0uZrLA4nDA 0fMKJI+34Iz+TcizK+7taNB7p1Vkg3XNuIVE+h/PtyQQk73HLq4+g/+qBzb3wdXjVuTY G+Mfn+0guHUzj7jBex9T7htz4xScLqvji36GHMINDAtnmrB+n+xu3e+VgcJeydeQBOwP 4XCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ym0ZdkDp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-188233-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c7c125dsi4416675ad.150.2024.05.23.19.33.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 19:33:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188233-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ym0ZdkDp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-188233-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B19E328247F for ; Fri, 24 May 2024 02:33:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 214802BAE3; Fri, 24 May 2024 02:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ym0ZdkDp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 397EF33D8; Fri, 24 May 2024 02:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716517976; cv=none; b=CwSkwdlfJwWLkAeSf9wEf4jB1wyFxb4Z/bGRkuXJeh5gJofKiIKcxlB6JOYjyTHTkR1r910UiCRPMzeQUWzEUTlg5bsBROAw9wmsHZXLO8eSFDznKg6aBHe3aBPC1FN+Bx6td8rZyZGUVn/FZVmBHSh14lhSiTBlLlW90ii7NpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716517976; c=relaxed/simple; bh=A2LtdXVt1FOoMFQuFZN7A3gmcj+m+lSSGQ1UKkAuIUw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GlNb9mX2bc8W1GV2aMhyDzOICTH4YFMuPDK2zlovh43ojHNKCtiuLfL9Q/taBIlxyu/08qFvBtJlFyKpYN21nT/3a1DEQoIZQj4gjRCQoubkqE8SQnD+Yc1nPBYo+PkMIF79+K4rUnfRfhAbYfw2hEheA5hhFB6nc5jlGnHS0ek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ym0ZdkDp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95AD9C2BD10; Fri, 24 May 2024 02:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716517975; bh=A2LtdXVt1FOoMFQuFZN7A3gmcj+m+lSSGQ1UKkAuIUw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ym0ZdkDptYBUPkE3hlOpEL8aNS0dZcAKflY9fiifTdmYSQ6M7h6gTBNUPa/O32+uX hvr6icl4FGzK2iCeX9bCHMX2ncpBEKUzAS1ZH5dBJuqvsBJbC+OKueC+k1Wqvr+7qB 6zRogeiRSLzL76X+k05LJ7bFe25m/aGmtljuUAFk0A8S2Ol187Ss05jYzlI9qtN+qI jJNznbDXYf5Fvu3x6u6fW4Bp9or4iLCeLPY/8xqWsSJ8PLcjToWwLmd51kLhJX7DPf ivM2/NmoSN8wjEnN/k2t4mEcT5hYD0KyDTh/2IN2RFqcyPxg9/tPQ7aUyoy3fAnrbe 7hYBSW5g+tNng== Date: Thu, 23 May 2024 21:32:52 -0500 From: Bjorn Andersson To: Bjorn Andersson Cc: 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 Subject: Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Specify zap region for gpu Message-ID: <7zpdjp6h26isowviky3zlcmyafrrxdutqubnqgsmxioecfhdhs@ppvk2at4vp3t> References: <20240402-rb3gen2-gpu-v1-1-a51bb6080968@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240402-rb3gen2-gpu-v1-1-a51bb6080968@quicinc.com> On Tue, Apr 02, 2024 at 08:33:30PM GMT, 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. This statement is wrong, there is a zap-shader node already, but we're lacking the firmware-name... Regards, Bjorn > > 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 { > + 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 >