From patchwork Mon Jul 15 14:23:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 812852 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 7DFE718E776 for ; Mon, 15 Jul 2024 14:24:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721053446; cv=none; b=IDKVOLrZppXDwJcRb2v4iBBKmzYvaZt9+v1+Pp1H8CWiukVH/LDa7zgWSKwOznbs+qbLW/D/JdsS7mjtqh1wp4VeJt6GvpYMebCdNzXF+tuFpxGdIFdp8u9OIMuA4Gf3NgDmqOIFYNbLc5YVBHPgFxckw659L0z4EET0FH1Cx3I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721053446; c=relaxed/simple; bh=Rjam2vQWsxCraW0wNegKMsFMG+0/dxFdT4OKFWEudw0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=mnk2saf0J+sz9HYuIUcsDgBC5GZONbAPZ6F+iCB2VZmSmV89MNzT1SLYf4pjL2pZjKDgngqv3/oR782F6GU5MZLGBnksUwKScWz4nUDK+pXLeHwaOXxfckkjCSNVsxMBxV0ag5IY0UYMAyqFGY1ZyfA6z/B5WqsaKoZ/aiXIxWk= 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=RoFgjCmw; arc=none smtp.client-ip=209.85.167.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RoFgjCmw" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52eafa1717bso4584582e87.2 for ; Mon, 15 Jul 2024 07:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721053443; x=1721658243; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=RijGCxBpU/20eTgX8w5EWz2Np+mE3ZehIOkNrUlzOf8=; b=RoFgjCmwShqmxMva1ywmaAlnfO64R2OWquCvowesqVSFRtvghbUUF7swpSWUGxML5w zcLd2CXd9IwWx6m7pGI92eilf6/c7gdbjGfphFlitYVl/HLOxwIMKZuxn2Yuu2nbRm/D sgUIjVqVMYOhSHDoP5gbltXrwludcltZNieu6mCRaAzMbp/vi/LVM0Z881msF417dDJx /H8FVM3PrzeTjrbXUcAQ1LnqW2lZ7/bHk2LcNdxqFMUBmurg1GVsxQSXmIK1GHRZ2fOe A/RUb3bpkVzwxwPIWcU8pFQr1rxw1kc7zj7B0ZEdcAYnOybWAxEcmJEtcmgnnIYYjgz9 eIAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721053443; x=1721658243; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RijGCxBpU/20eTgX8w5EWz2Np+mE3ZehIOkNrUlzOf8=; b=I0RlBNEGEyGVwv/TKH3PygD33BwZaA98d2sPwWqhI5KZuv4URDv/HQO+KrtXUO10PD jk/MQV+ukJgFW3JvJ/WoPxLDZQ3XYTpW8RO0faNLuwavmoi1fRC93Pvdi1orBUgxuFXO GFJZfkDJ+ZM2zMIF5XfESiEEspM1qYUnlF2FQ/Ang8UrF+W3NV5tJ5+8Oh5Vh7KbRniO FbTjeEFcnKlZt+XsjMnsiVlipy9vzAooi5C4OPZ6zGfVAzD9MU5VCdUiYW4LSz5r65Fv 5Ns27cNvOKgRmrsLUs9xg1qmUBfWd+BSzuFcogT3twFQNuEZFOyQbcpH8OGUMtMU5OQS d2vg== X-Gm-Message-State: AOJu0YxpCn5FG9vCmCp7FjT2V1yH+rUL1xPBBKnkDQEDBcxr7EQUWj7i Win6AlMsKKG43RAL+8YvkRzSJi+51LKP2B5JfTAriHAeDdi2qkIN1GcozTOUtlo= X-Google-Smtp-Source: AGHT+IFchQkPEHwndbUwAL9gdsBfPbmzhgk5e7MFzHKayuR6nJ+LPNq8AzDb9tlnu0Bxr7rwCi4rUg== X-Received: by 2002:a05:6512:318a:b0:52e:7444:162e with SMTP id 2adb3069b0e04-52eb99d1527mr15119472e87.55.1721053441686; Mon, 15 Jul 2024 07:24:01 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ed25391f5sm866142e87.253.2024.07.15.07.24.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 07:24:01 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 15 Jul 2024 17:23:58 +0300 Subject: [PATCH] arm64: dts: qcom: disable GPU on x1e80100 by default Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240715-x1e8-zap-name-v1-1-b66df09d0b65@linaro.org> X-B4-Tracking: v=1; b=H4sIAP0wlWYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDc0NT3QrDVAvdqsQC3bzE3FRd8yTjZHNLI2MTEwNDJaCegqLUtMwKsHn RsbW1AAmuerdfAAAA To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Akhil P Oommen Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1379; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Rjam2vQWsxCraW0wNegKMsFMG+0/dxFdT4OKFWEudw0=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmlTEAUfju/mfOxtRQkU7cvELo8Kj95k8DuHSyV gCdP3xPsmyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZpUxAAAKCRCLPIo+Aiko 1ZAXB/kBxfqSwjWu4p5hbny9N2u17MLJHUiy+dz3txgMXiyT2K3g2fN8tiL+oZQ1P4Atn0QXP6V 8k/aA7lx9bwePWEinWa3qllYu7HJ5IqeDYND+IjfR2qhuJgSgqJWNdlD8Bqtjx0c34O1o3M6NsR 3laP3jklCJpETf6EY4DVpCoNlTeMjSCjwUKv6driuCi+X+xPtRaJ5fSalmm9qPduH4YkamPiZaB tkgDH7Ym0lHeTDQ3XScujGjGN0xUUjJOs0ySPWik0ecnjhVbZWjdwtttaxUso84MMJcZf5rpShj bFhlkS0h8a0jLVVq7IcdI+jC8j/GqBfG06sLNFOTXNWC1cho X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The GPU on X1E80100 requires ZAP 'shader' file to be useful. Since the file is signed by the OEM keys and might be not available by default, disable the GPU node and drop the firmware name from the x1e80100.dtsi file. Devices not being fused to use OEM keys can specify generic location at `qcom/x1e80100/gen70500_zap.mbn` while enabling the GPU. Fixes: 721e38301b79 ("arm64: dts: qcom: x1e80100: Add gpu support") Cc: Akhil P Oommen Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- base-commit: 3fe121b622825ff8cc995a1e6b026181c48188db change-id: 20240715-x1e8-zap-name-7b3c79234401 Best regards, diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 7bca5fcd7d52..8df90d01eba8 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3155,9 +3155,10 @@ gpu: gpu@3d00000 { interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>; interconnect-names = "gfx-mem"; + status = "disabled"; + zap-shader { memory-region = <&gpu_microcode_mem>; - firmware-name = "qcom/gen70500_zap.mbn"; }; gpu_opp_table: opp-table {