Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2928350rwb; Mon, 15 Aug 2022 14:13:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6P2pyKCoHC+8++Xz63WC35CidgdPv32P5P5f9BQvwyS9KaT++chTZLmw/V359cENjIDgt8 X-Received: by 2002:a63:6b02:0:b0:422:7cf8:4bf with SMTP id g2-20020a636b02000000b004227cf804bfmr13785533pgc.92.1660597957529; Mon, 15 Aug 2022 14:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597957; cv=none; d=google.com; s=arc-20160816; b=pXPhFhzrZe0Eci1O5Hgf9mTbo7NWWpGHYjt5f48zwNSkZyu0/udtVIctNQUiRo4rzi ogFNgp+Ot5kXG53wouIJlYi2fzWdylF+/VVQCVn5Zcyzjn94+5l9UxdiMlBoA3f5Qi51 F/ZqshkyYQHDXMWhV0lA0JaD7/pTNx7YibJNxC2F4gz/jC2pDVqopJ0o9vcz5SNVBszB Cig59LHLsM7vSxIwQsTAxkDKMetZwPFBhkvh6iAMind4sjm9LEqlho90PLvvbJqVxxHK PWBg37qFD2Y5Hj1kbQlVH8ypCqFgbCaDfScXhORnT9aJX06tqCGfJprwx7FI3Jy4Zeqd N1XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=U5k+GQGDjKPodsic/khE6gutvEtQ2+PN6ATxpZnuhFo=; b=sc5Ngxi2mtul/mg31Kj9zKVHtOpz1gc6TBWaQ6Mv/MgzuJ2Z8aHRXZEXJluuqYRU5v v5kCYpxB8u4WLXap33MMNj7zRcW6UCVNaAV2YNQVM1O6iyOg/fF+4/CKCKd7ZCM/BVRB R4GCkG7AwHRXAIra6txg/WuqqotEDSVHc/vhoPIN70qbkyHyRhf8Epm4CE3awuEDhRxY KcHbY2irQXsvAf7lWFLgl4MK3N/bjGdEqYVOKsqVX5ZP+6AwABpf5oQ3NCdRlfRpmf14 g2a7YNDo4teCME2J7eG0lPhWA3t0Z9eYRDsjU/c1eY8njd+niVHnpxW43Upd6b0m2/DU ra9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MqcjCsLt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22-20020aa78c56000000b0052daec10c3csi10564516pfd.99.2022.08.15.14.12.25; Mon, 15 Aug 2022 14:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MqcjCsLt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346152AbiHOUfn (ORCPT + 99 others); Mon, 15 Aug 2022 16:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347778AbiHOUbl (ORCPT ); Mon, 15 Aug 2022 16:31:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88ABBA6C20; Mon, 15 Aug 2022 12:04:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 03F17B810A2; Mon, 15 Aug 2022 19:04:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1460EC433D6; Mon, 15 Aug 2022 19:04:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590297; bh=V9Vq7Xk3Jo007gvGsvMAVhk6e7S1ixt7asa34ghvP8Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MqcjCsLtd/IYHjp9fs7wjK8L186vfqlc1b8t9K/Lp5Q+i/KaUeCcXC8YGbY643rXW 2jX467ibJssF5Pxbi0iFRj36WISRDhScWbciTRvJzAyHbE8O9YVrbEMpBTJkv3u/G4 WUZ/NQmLJSouJKZMGFjbEjZbbAjbB3MeHMoe6SLM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Konrad Dybcio , Marijn Suijten , Dmitry Baryshkov , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.18 0215/1095] arm64: dts: qcom: sdm630: disable GPU by default Date: Mon, 15 Aug 2022 19:53:34 +0200 Message-Id: <20220815180438.567607283@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dmitry Baryshkov [ Upstream commit 1c047919763b4548381d1ab3320af1df66ab83df ] The SoC's device tree file disables gpucc and adreno's SMMU by default. So let's disable the GPU too. Moreover it looks like SMMU might be not usable without additional patches (which means that GPU is unusable too). No board uses GPU at this moment. Fixes: 5cf69dcbec8b ("arm64: dts: qcom: sdm630: Add Adreno 508 GPU configuration") Reviewed-by: Konrad Dybcio Reviewed-by: Marijn Suijten Signed-off-by: Dmitry Baryshkov Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220521202708.1509308-4-dmitry.baryshkov@linaro.org Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 240293592ef9..45eaaa6a4a74 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1050,6 +1050,8 @@ adreno_gpu: gpu@5000000 { operating-points-v2 = <&gpu_sdm630_opp_table>; + status = "disabled"; + gpu_sdm630_opp_table: opp-table { compatible = "operating-points-v2"; opp-775000000 { -- 2.35.1