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: 7507 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp246314vqo; Thu, 30 Mar 2023 18:16:25 -0700 (PDT) X-Google-Smtp-Source: AKy350Z297co001FIwN6cPbteZiLTxuoWRK1HJrib/kkLbYfOucKZrmnj1wGlIiKfZPgKnYQl9ci X-Received: by 2002:a17:90b:4d06:b0:240:95a7:be7a with SMTP id mw6-20020a17090b4d0600b0024095a7be7amr15431797pjb.41.1680225384902; Thu, 30 Mar 2023 18:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680225384; cv=none; d=google.com; s=arc-20160816; b=eW5Uc+PyJgOOApDgHSKeuVeJju/DN1/pwfI9oaqKAV03RekRErSMWKpUBwUGREUjHV SL/3lYn9CbsO0PZkrPrH/ymxFqzwjdgUZLBuscX77IFLWezZ6qsRm16ooqsjoX6+/Xlk VW9jFBOuJRx+18DxnlTAKfAy5QQYcZ66jAE3xANHxGdHJQtLEol3cFiiJtbtX755Qz4J LUNjuR2teI7VxoN2RCNfl0xlual/H5Xz4rWCP27ZmH8aQilyLFBJoQC50fAyAePVk3+S SsrQSRQdbMXU578tsTvVHUciNeptVKthRZYpd3ZeKZtRK8VMLEr/2ZnRz3ZJinZc/ukM GtDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=xMt5o7eVOVyetFxZi6Wtlfos4TgIUANblrdBkQ0mZ+g=; b=jAfu4IzjR1KBNt6XYLj83cb+rRuxskrsnEL5++D1zBvkANoHXU9Qq6rboa/MgH4aXv rH3dJGJu0MXKynlZhrZ1JEW03U8vuegVD+CG5arQ8l52/St+nZLBOHKWMm5gynndf+oe GpEIaq1/43fSJS6TMql1fLh9BLy261jaB7zwvbibg7glkwTYwScR0RnPjPW9cImyXY1A AK7By5URcsfbGotjWFDekrfDeqx+Nk9PsfOb85rL/fVLhCFMfbD4+Eo5RsqwDknxd6GO OR57srx1cWPEtcvHAWWOo0ECejo/I946lyYlIHdynbi5ZI9wGGI2qQ5OKbeV/ZDZUbNS aDrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ovLvv6Z3; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a22-20020a1709027d9600b001a1a737bc91si953028plm.45.2023.03.30.18.16.12; Thu, 30 Mar 2023 18:16:24 -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=@linaro.org header.s=google header.b=ovLvv6Z3; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229788AbjCaBPB (ORCPT + 99 others); Thu, 30 Mar 2023 21:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjCaBO7 (ORCPT ); Thu, 30 Mar 2023 21:14:59 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A80BDCDC1 for ; Thu, 30 Mar 2023 18:14:57 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id b6so1438043ljr.1 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=J4OToigyS9VJdL7LEe8bV8fpy1quSwDqUT/nu5+hTyr9UxXSiHZWvh+uMc2DEc2N/m 6OS0DtppfesZEejImvTgv+WXUS+qJvmgzncDky2J4jBBufz3Vdnmr2x1pWixT255CFq6 BDR5zRy2SLCdUy9vzWPveDlGVGhwyoYvIyYSd3R1TL7IHTyxeYxVjKn0ngpARCDW6E5G 5UPbvMQWQZVn5Lpxdm9PpBPQ2nuDK0bTM7ZK+5Bpeh+XF9Q1Y9P6MWRdcXO7VxRRuOX4 dO16/u4C6PqkINpzJMM6aQ4SXByJ35PMVl0KG/XHUZUAjcE4zVxrX7qaqmn1OhixsFLo djzg== X-Gm-Message-State: AAQBX9cxBl8jBwh1kF0W/4jD4qcfrOx57dATaSG4KrSyfZAHL98zJXU7 zt8RJbZ9k/pP9/aZ1/Phq79RQw== 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= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761844012778478469?= X-GMAIL-MSGID: =?utf-8?q?1761844012778478469?= 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,