From patchwork Fri Mar 31 01:14:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 669184 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 D368EC761AF for ; Fri, 31 Mar 2023 01:15:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229694AbjCaBPA (ORCPT ); Thu, 30 Mar 2023 21:15:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjCaBPA (ORCPT ); Thu, 30 Mar 2023 21:15:00 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF6BCDC8 for ; Thu, 30 Mar 2023 18:14:57 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id t14so21500078ljd.5 for ; Thu, 30 Mar 2023 18:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680225296; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=xMt5o7eVOVyetFxZi6Wtlfos4TgIUANblrdBkQ0mZ+g=; b=ovLvv6Z3mM4rfJoKMIhlkqF5ZX9/tY0KVKB5Iksff70ffOL8mKfTOWOHOXEBDogsLy zmeeH4c8yT/NCB5HZvz22V4u3k0Ax3JutM7KiKHumlVDFSwGkjA3TpirAR3MXE6nKQ2M 0X1uWbcsqKdFB9LLh42tYPAsYxCTYRa8G6lqsczqqNCqGRuP3pwlrAKg/4EFz0Ur83v/ qvoRBbuHeKJ8qvhUi++M0Nihvp2Zrm/1CEwOiZr9eR+SnHTwpOpFqIX2p9QgvghkI7qZ SOwhDIhwVFdFRe8P12/JxoMTwrYazUnsQAAtraLr6pEpTDFLKEsxFapccp05p4xCoS8S 3kAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680225296; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xMt5o7eVOVyetFxZi6Wtlfos4TgIUANblrdBkQ0mZ+g=; b=7rq2sI1TPR5FNRdDdJQ3C/hJOX+0Iacwhdj3n6b0o3xXWheKMkkYbNsHef+kXrIJ0M K4rr6mQ28Ul4nNwqZpHF9g/ehEM+EJN4PJuP/ux+rG1NOgB0Uwy45LI+lPLQSC9d96IJ 9HMoQ0pcWg1ODmr4iexejML0Jm6+/c/erxQYYd9N2Cm21DetPXuznqrHplh9EtIuqxVh GnfaDGCeZA5WMq7D1CbcgVifobZrJJ/eHLP3vVulIw03g/rl0fVcdD4U0bcnEUFCpZEc m+NS6LTnkpfvQjpIfemKneDk4GxtFSwnjC4PA57A0qqgNkjvTXOKaLcTnV3vFxbq6zhI LjuQ== X-Gm-Message-State: AAQBX9cy8QsrxHvONKeNb3QkwWE2/oizVCb5BIDc7HwXUdcwXh/FQbEl XdiS3A2IYl64WiGJcQxaMx8GTQ== X-Google-Smtp-Source: AKy350bB+awwGcgIgXmdkRxLiXinTgLBgl/AzH2xLNTvmCh9sh6FfYlLCnNuLerm3AcQT7uXNulBNg== X-Received: by 2002:a2e:b614:0:b0:2a0:3f9f:fecd with SMTP id r20-20020a2eb614000000b002a03f9ffecdmr7740015ljn.49.1680225295836; Thu, 30 Mar 2023 18:14:55 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id n7-20020a2e7207000000b002986854f27dsm134573ljc.23.2023.03.30.18.14.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 18:14:55 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v3 0/5] SM8[12]50 GPU speedbin Date: Fri, 31 Mar 2023 03:14:48 +0200 Message-Id: <20230331-topic-konahana_speedbin-v3-0-2dede22dd7f7@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAg0JmQC/x2N0QrCMAxFf2Xk2UBtJ4K/IiJpl7ngSEujIoz9u 8HHcy6Hu4FxFza4DBt0/ohJVYd0GKAspA9GmZwhhphCSkd81SYFn1XJZ7pbY56yKFLmUM7xNMd xBK8zGWPupGXxXt/r6rJ1nuX7v7ve9v0HC8vjcn4AAAA= To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio , Akhil P Oommen X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680225294; l=1580; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Z4sih2qa0PUG8gStwgxQKZOfyMiBl0L0thVhEIYRgTA=; b=dDH9R7V3yQBHD6qeTJlYEPlkejHdOYxSa8xt9FibgBrfIH7UZSZ5KtyijfLN7/4YvNKdhxl1le8W 5AD4PNGiDVycRXBzI/kobVEyCawYc6HG0/SuS8nTuprHGsz7ivQy X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series brings SM8[12]50 (A6[45]0) speedbin support along with a touch-up for 8150, allowing Adreno to cooperate with the display hw. Tested on Xperia 5 II (SM8250 Edo PDX206) and Xperia 5 (SM8150 Kumano Bahamut). v2 -> v3: - Don't swap speedbin 2 (with fuse val 3) and speedbin 3 (with fuse val 2) on SM8250 (no functional change, this is all a software construct but let's stick with the official mapping) [2/5], [5/5] I kept all of the tags in good faith. v1 -> v2: - Drop bindings patches (Applied by Srini) - Remove leftover comment about missing speedbin in 8150 DTSI (Marijn) - Collect tags Signed-off-by: Konrad Dybcio --- Konrad Dybcio (5): drm/msm/a6xx: Add support for A640 speed binning drm/msm/a6xx: Add support for A650 speed binning arm64: dts: qcom: sm8150: Don't start Adreno in headless mode arm64: dts: qcom: sm8150: Add GPU speedbin support arm64: dts: qcom: sm8250: Add GPU speedbin support arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 5 +++++ arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 5 +++++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 31 +++++++++++++++++++++---------- arch/arm64/boot/dts/qcom/sm8250.dtsi | 23 ++++++++++++++++++++++- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 31 +++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+), 11 deletions(-) --- base-commit: a6d9e3034536ba4b68ac34490c02267e6eec9c05 change-id: 20230331-topic-konahana_speedbin-abe0c725f244 Best regards,