Message ID | 20240203191200.99185-2-jenneron@postmarketos.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-51256-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp46415dyb; Sat, 3 Feb 2024 11:13:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjc4CPsoi4wnckNfFBhcWpve/yfTJ+wzRzciYarGMooFMnZe3n6q0WUajyrrL2sNVl1bAu X-Received: by 2002:a9d:7d97:0:b0:6dd:ec7f:f46d with SMTP id j23-20020a9d7d97000000b006ddec7ff46dmr12534176otn.11.1706987602484; Sat, 03 Feb 2024 11:13:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706987602; cv=pass; d=google.com; s=arc-20160816; b=zo+I3YLJ7xXJdJw5hpqaJzmYwklKBZoZKpHcGOTXZajZCu8ZZiImSRghftghcYLWXd QAMfkRpPR5K4ZJc59ZKdrOReJF52Q99SWGIVAOekLRDVQ/smqk0VNkGY5IEPJ2IG46rP lngJZqw9GR2zXmK4nACGdSgB3VxaThVrMrD5d2UFDz8MdTBwgmyvNWnATFURkrWmyBbB jCQt3/e4faTVohjKELN193v9R/eqH9DcBux/tRQssQ2X57ESSyPYBXRhhdyXL5PqX6TY LL3sfN6qaXUcrXc5BZ0DZ6UPfXSv3ACn7M1HX/FhXZRgSOdQ05h102z/i79Dz0+eekXY JtkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=n7cWIwnS8VWIVYNfovS60jJxitrKNEY+l7a3wpu9pzs=; fh=5lGbvsSp8jhE6YvdEDhs2fk5WM6WGKZejOGIbPWfDyI=; b=0Z6V5vNfKRpD3en2JvBJWwhaPKyqVxz64U/Uo2hoDNyt4BX+iBeuvciWhQsr7R1IEC P+JNsK9snaZoh+imRJncd5Vgy6ZE/vIlZAqzz7YvcQMt5h7rFVUil/3rdVhPBYgVNdwE 8GC4joW1zO18mgKwP98KBpVrCF0aGwQkxBr5M4dLjb0uJv5ZuRT9jaaMvbm1US9SI/Uv 9fGO/yJppHzauc+qQ1o3OIsrytHQjxFYgfNLM+Q+g77kPekP+LFdcZtMzAo81Cwy1rtz e7su9eo1fSpvg8dEB9pEkyfVt0ASNI/M2QGOPzs2VhEUb9tH5/HVNAx2Qkt1ee0qFLJY GYFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=TAIdHCEh; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-51256-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51256-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org X-Forwarded-Encrypted: i=1; AJvYcCUOt/n9SmoHEJ4JI/TIuLoE5/PC0HwJh7YmH6sx4RQGoUzkB8ZGh3ED6UWrmJu0+c34RMsjFkH3v9S/fxgvYPEVctNPLA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d17-20020a05622a15d100b0042c182f8257si858103qty.422.2024.02.03.11.13.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 11:13:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51256-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=TAIdHCEh; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-51256-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51256-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4505F1C21F5F for <ouuuleilei@gmail.com>; Sat, 3 Feb 2024 19:13:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DBC7605DB; Sat, 3 Feb 2024 19:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="TAIdHCEh" Received: from out-179.mta0.migadu.com (out-179.mta0.migadu.com [91.218.175.179]) (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 712D85F86E for <linux-kernel@vger.kernel.org>; Sat, 3 Feb 2024 19:12:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706987549; cv=none; b=ufsls6EDr4KMDLfC3wuSTFVTCdYCRIf/Eg3MXqM1zoYRWaxMKEgbrcEE6p5K/6FjsP3ljPYLCZ7r6kkRRxnjubQvH+tPaGXnvQZ72NBkzDG0a6LIfKIZmnxtYMyUhknR3/KQKjxrU/goFjU+pIPQv/9NcriFt4PUa0A0427JM1k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706987549; c=relaxed/simple; bh=bd7lZoKMBfp0dNJw3NMwekWLKolEqwplDPJst9vEqNE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ermsmkwWTdTIUKB6JHnaPGMFTFELPNQ4sNdTT+nNaQxpsdkMfeP76JsUcevXiPn+3TRC18Oyu4gomTRQIDU+5zNYh5Xs960DeIsbxEMF+EQ66d/wxWXRfTB7cMM0GHfSatCNmuQ4mElOzhIv/9mNnU1rvWKmHXpGiJnZjpZJkvQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=TAIdHCEh; arc=none smtp.client-ip=91.218.175.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1706987545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n7cWIwnS8VWIVYNfovS60jJxitrKNEY+l7a3wpu9pzs=; b=TAIdHCEhyaYlc7T8IU8N3I+0e+nbVbDNFp+Q95Z0sUBUz3qbQVu/hjscMg2CE4iBV0qMtQ bFMMcIqhiEwZNOJAXLVFWdp/tirHQaDloxTGO1idBDhN0AQ4qIEs1ugl/yl9jn6bkLEncz i/DoAGmfavATZ65Geim5mSn3ZTBtDTwM4xIKHcf5DJ9idZlNSM5XrKWbC1PAA/P7sMVoqz awqdjK1Wv9iJYSvXXtO7YNjFZXRpw5OJ4hbzJv+hIMMNx+4VigvRzpe7/JtMcR7SvjjZoa XMCLOpXrRnA+N+xY0zjwvJnaGuEa+MQ9opMlD5yzQUNdLOTV7UrBFT5XbWPaVQ== From: Anton Bambura <jenneron@postmarketos.org> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] arm64: dts: qcom: sc8180x-lenovo-flex-5g: fix GPU firmware path Date: Sat, 3 Feb 2024 21:11:55 +0200 Message-ID: <20240203191200.99185-2-jenneron@postmarketos.org> In-Reply-To: <20240203191200.99185-1-jenneron@postmarketos.org> References: <20240203191200.99185-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789906232298590693 X-GMAIL-MSGID: 1789906232298590693 |
Series |
Device-tree improvements for Lenovo Flex/Yoga 5G laptop
|
|
Commit Message
Anton Bambura
Feb. 3, 2024, 7:11 p.m. UTC
Fix GPU firmware path so it uses model-specific directory. Signed-off-by: Anton Bambura <jenneron@postmarketos.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sat, Feb 03, 2024 at 09:11:55PM +0200, Anton Bambura wrote: > Fix GPU firmware path so it uses model-specific directory. > > Signed-off-by: Anton Bambura <jenneron@postmarketos.org> > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > index 0c22f3efec20..49b740c54674 100644 > --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > @@ -350,7 +350,7 @@ &gpu { > > zap-shader { > memory-region = <&gpu_mem>; > - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; > + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn"; Where is the firmware located for this device? I couldn't find it in linux-firmware [1]. - Mani [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qcom > }; > }; > > -- > 2.42.0 > >
February 13, 2024 at 7:14 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote: > > On Sat, Feb 03, 2024 at 09:11:55PM +0200, Anton Bambura wrote: > > > > > Fix GPU firmware path so it uses model-specific directory. > > > > > > > > Signed-off-by: Anton Bambura <jenneron@postmarketos.org> > > > > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > > > --- > > > > arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > index 0c22f3efec20..49b740c54674 100644 > > > > --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > @@ -350,7 +350,7 @@ &gpu { > > > > > > > > zap-shader { > > > > memory-region = <&gpu_mem>; > > > > - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; > > > > + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn"; > > > > Where is the firmware located for this device? I couldn't find it in NHLOS partition on the storage. I also maintain a package in postmarketOS > > linux-firmware [1]. > > - Mani > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qcom > > > > > }; > > > > }; > > > > > > > > -- > > > > 2.42.0 > > > > -- > > மணிவண்ணன் சதாசிவம் >
On Tue, Feb 13, 2024 at 05:33:42PM +0000, jenneron@postmarketos.org wrote: > February 13, 2024 at 7:14 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote: > > > > > > > On Sat, Feb 03, 2024 at 09:11:55PM +0200, Anton Bambura wrote: > > > > > > > > Fix GPU firmware path so it uses model-specific directory. > > > > > > > > > > > > Signed-off-by: Anton Bambura <jenneron@postmarketos.org> > > > > > > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > > > > > --- > > > > > > arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- > > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > > > index 0c22f3efec20..49b740c54674 100644 > > > > > > --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > > > +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > > > @@ -350,7 +350,7 @@ &gpu { > > > > > > > > > > > > zap-shader { > > > > > > memory-region = <&gpu_mem>; > > > > > > - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; > > > > > > + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn"; > > > > > > > Where is the firmware located for this device? I couldn't find it in > > NHLOS partition on the storage. I also maintain a package in postmarketOS > Could you point me to the package? - Mani
February 13, 2024 at 7:51 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote: > > On Tue, Feb 13, 2024 at 05:33:42PM +0000, jenneron@postmarketos.org wrote: > > > > > February 13, 2024 at 7:14 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote: > > > > > > > > > > > > > > > > > > > > On Sat, Feb 03, 2024 at 09:11:55PM +0200, Anton Bambura wrote: > > > > > > > > > > > > > > Fix GPU firmware path so it uses model-specific directory. > > > > > > > > > > > > > > > > > > > > Signed-off-by: Anton Bambura <jenneron@postmarketos.org> > > > > > > > > > > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > > > > > > > > > --- > > > > > > > > > > arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- > > > > > > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > > > > > > > index 0c22f3efec20..49b740c54674 100644 > > > > > > > > > > --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > > > > > > > +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts > > > > > > > > > > @@ -350,7 +350,7 @@ &gpu { > > > > > > > > > > > > > > > > > > > > zap-shader { > > > > > > > > > > memory-region = <&gpu_mem>; > > > > > > > > > > - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; > > > > > > > > > > + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn"; > > > > > > > > > > > > > Where is the firmware located for this device? I couldn't find it in > > > > > > > > NHLOS partition on the storage. I also maintain a package in postmarketOS > > > > Could you point me to the package? https://gitlab.com/jenneron/firmware-lenovo-yoga-5g https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/testing/firmware-lenovo-yoga-5g/APKBUILD > > - Mani > > -- > > மணிவண்ணன் சதாசிவம் >
diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 0c22f3efec20..49b740c54674 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -350,7 +350,7 @@ &gpu { zap-shader { memory-region = <&gpu_mem>; - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn"; }; };