From patchwork Sat May 21 15:20:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 575118 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24F8CC43219 for ; Sat, 21 May 2022 15:21:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244629AbiEUPVL (ORCPT ); Sat, 21 May 2022 11:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355352AbiEUPVB (ORCPT ); Sat, 21 May 2022 11:21:01 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D7FB4B2 for ; Sat, 21 May 2022 08:20:57 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id br17so6497520lfb.2 for ; Sat, 21 May 2022 08:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tuq5sCaVtmkjPi9RkbWXYl4iAUGc0Sy3jGc43YOB5ng=; b=XSSUpkcW9971TKaNxpF6fFOpwgiEom2zBmy2y8AKhh8QjjCVxUpSiyBQ35HRtTTLUG PML7YtP1qCZhPjG7gE4i0ZRchCx1FNms9jn718vP+a5Laa7NM0RXwBYqxUuf5w5c2aur 3heJ8SePuPGvrsXZYLlJRHwL7qSGPX3OdbLuaQN5Z4AX5haMYkAJ7SjTgzCSBQzbqkbc aBnz1HCoj5O0byRISNOa9wZMRW4qaQM9Ju/04NObSnA9l56QKN0F9flK3x5FgCNKi57i PsKfElY/lortPfg3ciZst3LNQI/HJsXXtuVuEJjFXvfk+M183DShw6nHnPllTsx43GZo dQTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tuq5sCaVtmkjPi9RkbWXYl4iAUGc0Sy3jGc43YOB5ng=; b=m8terwcuI7bkJqwOg50av30dKJ2wX4xA8WJQDKrzdKPgAFTo335diuwR0eH5lhB3hu IiIYlgOxKhbb8RxB3UGGfSUFAmqpF7PYUFV6Czfea1Pbu9kFsScvIEL7+AaNspypjFGD hEbxFZMzauk7QGxbKN8kt1+F7nbYbzVHyGAKOdo23ilw5yVVJ7fmCRvUTsNTSdWGn4tS F1ddt1cSFYauA4SpYwyzmtkawOJjmP1Y/J7J0QQWtt/zupXXsGfOVIyLQxV0oML7BYW7 xmv11IOHVMQHYPo+riwAPSpTJ4xS42qKmYd1yAIh6QSpPGx9ecLREj1UyUo9sHknMjo/ DHQg== X-Gm-Message-State: AOAM532toQax7rDZqw+AMJJfBbpKGRATT5YCKQ92RIV53xH3C57FeVuH lejxBbOMNHyOfdo6H8SaSZB2ww== X-Google-Smtp-Source: ABdhPJyIMAexTQEk1MKaX2t94SdwWyx/q24fHvDshpynvSQOYQwjbia8S1JFqQ2bCCHoa/sMDRi2Gw== X-Received: by 2002:a05:6512:3b14:b0:477:cc51:b2c3 with SMTP id f20-20020a0565123b1400b00477cc51b2c3mr8600131lfv.263.1653146456117; Sat, 21 May 2022 08:20:56 -0700 (PDT) Received: from eriador.lumag.spb.ru ([94.25.229.156]) by smtp.gmail.com with ESMTPSA id k8-20020a2e92c8000000b0024f3d1daeccsm739933ljh.84.2022.05.21.08.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 08:20:55 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio , Marijn Suijten Subject: [PATCH v6 03/11] arm64: dts: qcom: sdm630: disable GPU by default Date: Sat, 21 May 2022 18:20:41 +0300 Message-Id: <20220521152049.1490220-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220521152049.1490220-1-dmitry.baryshkov@linaro.org> References: <20220521152049.1490220-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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 8697d40e9b74..e8bb170e8b2f 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 {