Message ID | 20230517-topic-a7xx_prep-v2-0-5b9daa2b2cf0@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1241359vqo; Fri, 19 May 2023 06:36:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tRko8KZpMS5AIAO/4yWJxaJVh//ZLrUeK6Lpm3qr3G17kpX7Wj6hPx/jHt5d0p6CVNbQ4 X-Received: by 2002:a17:902:e5c8:b0:1ae:7631:7fa9 with SMTP id u8-20020a170902e5c800b001ae76317fa9mr3137891plf.37.1684503387205; Fri, 19 May 2023 06:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684503387; cv=none; d=google.com; s=arc-20160816; b=jd48cNzcQyu+/bFa0UQHuIoNJUJd/aagrIYlQsifMads4ClQqK0S8Xk3YJGNRuJO2c dM3CHjuqRbBNnjyclocz21uf0XwNuDvw5RfnMYWngzDi8BWXH0NtQunHEjL/br7N2Z2+ ZciR8odESw2niAQ0nXINN9Er46fggLrM7u9fjpfFZuizKJwRoaQcCvu2ODU6wQPzLjTW MtWEAQRTyqdMa/xNON1BfPxSs7nBrA3KPIttaCQq+em2eGG386o44Jp3GP0bNnOnqmHG 8S5sLIEytXwD0gsZwDRokf/OKhA2FCVUa9bWVXZiDfdEl7lZZA2tq4lH9wmzuoC7Xhew PJFg== 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=062DucJSZM1ir9uGBCKc/nlmbbSP2byuRNORA6qyTPQ=; b=Ct9QojCJkgUlCvs1Mzu8r9hDQw68VdtJq6QE8hLP+75yqBYxDt6fqQsiPGIvfW9DIB wI4yZxFrXv4xxbvOqxOHKNY+Dkbv7NqsWKugRw834ysqrQngaAA4li8BAGcmdYAre9pL c4Nrriubqn+8gY1zGTRq+cAQyl3ccHKdgSl0ZNmMpSMcG2UT9XXwyHRiP4ZGftOe65PC D0958GMWZfQQyUry1tLURbEq5fQwe3uXyZkKAH7YjATZFX/ZenUtaKOw9IvUN1XeG7Rj tDZ5uJXyvY2rrW/FYc2RoDFW4L8goctlmucsryNMFIymeKKv7V+7iEqME+TpR741cByN X6Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rYoeEimK; 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 e1-20020a170902b78100b0019ca5ddecfesi3626735pls.92.2023.05.19.06.36.14; Fri, 19 May 2023 06:36:27 -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=rYoeEimK; 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 S231583AbjESN3W (ORCPT <rfc822;wlfightup@gmail.com> + 99 others); Fri, 19 May 2023 09:29:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230461AbjESN3U (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 19 May 2023 09:29:20 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A39512C for <linux-kernel@vger.kernel.org>; Fri, 19 May 2023 06:29:19 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2af2958db45so2093341fa.1 for <linux-kernel@vger.kernel.org>; Fri, 19 May 2023 06:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684502957; x=1687094957; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=062DucJSZM1ir9uGBCKc/nlmbbSP2byuRNORA6qyTPQ=; b=rYoeEimKwUN9rBpJQr8NFWGMad89OMytiHuI8sGumrM21rcMl8M+faPG1j9Z60Z7C7 cbYobtTN7dBQB0hkw8NDZ90zQAfh63LE1vIZcl2xOTSr4RCTsgf9VfrVX38Mdfm1qq+Q k9AKfH5YSwjWuecWVlETC0og518k1/Uxe5HHM5oPL069HALBdnGxOErxGL6ybJS90fdx +st2atGwTwsnCwI+zrui82GsBybMEIRDeQpu8qLzXHGBYzLvbZJW7JT3exyweV/iR6uy XXok+3FBpZ3RcO/wpvOPyIF3n01HLBpgAoAln98IQgwANSmu1aT25xB24u0mCeWARPJK O0hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684502957; x=1687094957; 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=062DucJSZM1ir9uGBCKc/nlmbbSP2byuRNORA6qyTPQ=; b=O9IwabqXdj3kgXfPUfJWVvddsp/W+cBvxrXrwRAPstA08gw1QM67yjjG011vWb/f71 QrnMvnB51uqSYIcxMTu+8CYZ85IjhGYS7Cx6CjHFDoi0XMASjr2ugC1RlkcNcOY65G9V wobEcbvAro+JeqEA31tBm4yOfDbyfYIJ63fbVlvugmyfYeNP3T7MVf7BExrB17qRAJzY +DJyi/tPUPg8z07fYAn8KHwnysQv7P1DStjGdDFQvKq3hzMWaa7n1CHKfzZPGaxLoOjj PktLvsReeVsny0P+LRbEgwITE3CnF+GGjuFWhuFdZemMMChYtDyA1lTRwZ//uu7GRKLD xgqw== X-Gm-Message-State: AC+VfDxYnlE69w8zpqDU7FqfQS1y8HHhoxUW0p4bASUuh5dmLgbgQ/AE +mMDd4fBgEh1wcPlLpTPP8DbaCLT7EoghHRINt8= X-Received: by 2002:a2e:3506:0:b0:2ac:7ab1:a441 with SMTP id z6-20020a2e3506000000b002ac7ab1a441mr825771ljz.30.1684502957010; Fri, 19 May 2023 06:29:17 -0700 (PDT) Received: from [192.168.1.101] (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id q24-20020a2e9698000000b002ad92dff470sm821384lji.134.2023.05.19.06.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 06:29:16 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v2 0/6] Adreno QoL changes Date: Fri, 19 May 2023 15:29:05 +0200 Message-Id: <20230517-topic-a7xx_prep-v2-0-5b9daa2b2cf0@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKF5Z2QC/3WNQQ6CMBBFr0K6dkypSi0r72GIKaWFSUhLpkgwh Ls7snf5fv7L20T2hD6LutgE+QUzpsigToVwg429B+yYhZLqIm+lhjlN6MDqdX1N5CfQd20r43Q nQxBstTZ7aMlGN7AX3+PIIz8Drkfm2TAPmOdEn6O6lL/1f2ApQYK2proG5Y1x6jFitJTOiXrR7 Pv+BT8FWLHEAAAA To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Cc: Marijn Suijten <marijn.suijten@somainline.org>, Jonathan Marek <jonathan@marek.ca>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1684502955; l=1302; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=VXBY1tMYfUryEB9oBPhxsJwm809WxNcgkNQbGylhXoM=; b=w+XgKEDdVaEnraLk8O2/v+j0nPDV21xxFmeq0iukvcqGuAZwNVmE577OSwHvLLPiZISgimcbj XpVrJ00+P6DAi9757vNDqmpxwhaH9608W8sQI60AobALER/s1YyY+b2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766329823707711888?= X-GMAIL-MSGID: =?utf-8?q?1766329823707711888?= |
Series |
Adreno QoL changes
|
|
Message
Konrad Dybcio
May 19, 2023, 1:29 p.m. UTC
This series brings some niceties in preparation for A7xx introduction.
It should be fully independent of the GMU wrapper series.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v2:
- Drop switching to using the GMU_AO counter in timestamp
- Add a definition for REG_A6XX_GMU_AHB_FENCE_STATUS_CLR, may be subbed
with a register sync after mesa MR22901
- Link to v1: https://lore.kernel.org/r/20230517-topic-a7xx_prep-v1-0-7a964f2e99c2@linaro.org
---
Konrad Dybcio (6):
drm/msm/a6xx: Add REG_A6XX_GMU_AHB_FENCE_STATUS_CLR definition
drm/msm/a6xx: Explain CP_PROTECT_CNTL writes in a6xx_set_cp_protect
drm/msm/a6xx: Skip empty protection ranges entries
drm/msm/a6xx: Ensure clean GMU state in a6xx_gmu_fw_start
drm/msm/a6xx: Improve GMU force shutdown sequence
drm/msm/a6xx: Fix up GMU region reservations
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 21 +++++++++++++++++----
drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h | 2 ++
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 14 +++++++++-----
3 files changed, 28 insertions(+), 9 deletions(-)
---
base-commit: dbd91ef4e91c1ce3a24429f5fb3876b7a0306733
change-id: 20230517-topic-a7xx_prep-787a69c7d0ff
Best regards,