From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Clark <robdclark@gmail.com>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 00/14] A7xx support
Date: Mon, 31 Jul 2023 19:42:46 +0300 [thread overview]
Message-ID: <c68358a7-ee21-2d0a-71ab-cd1f9a3e1afe@linaro.org> (raw)
In-Reply-To: <20230628-topic-a7xx_drmmsm-v1-0-a7f4496e0c12@linaro.org>
On 28/06/2023 23:35, Konrad Dybcio wrote:
> This series attempts to introduce Adreno 700 support (with A730 and A740
> found on SM8450 and SM8550 respectively), reusing much of the existing
> A6xx code. This submission largely lays the groundwork for expansion and
> more or less gives us feature parity (on the kernel side, that is) with
> existing A6xx parts.
>
> On top of introducing a very messy set of three (!) separate and
> obfuscated deivce identifiers for each 7xx part, this generation
> introduces very sophisticated hardware multi-threading and (on some SKUs)
> hardware ray-tracing (not supported yet).
>
> After this series, a long-overdue cleanup of drm/msm/adreno is planned
> in preparation for adding more features and removing some hardcoding.
>
> The last patch is a hack that may or may not be necessary depending
> on your board's humour.. eh.. :/
>
> Developed atop (and hence depends on) [1]
>
> The corresponding devicetree patches are initially available at [2] and
> will be posted after this series gets merged. To test it, you'll also need
> firmware that you need to obtain from your board (there's none with a
> redistributable license, sorry..). Most likely it will be in one of
> these directories on your stock android installation:
>
> * /vendor/firmware
> * /vendor/firmware_mnt
> * /system
>
> ..but some vendors make it hard and you have to do some grepping ;)
>
> Requires [3] to work on the userspace side. You'll almost cerainly want
> to test it alongside Zink with a lot of debug flags (early impl), like:
>
> TU_DEBUG=sysmem,nolrz,flushall,noubwc MESA_LOADER_DRIVER_OVERRIDE=zink kmscube
>
> [1] https://lore.kernel.org/linux-arm-msm/20230517-topic-a7xx_prep-v4-0-b16f273a91d4@linaro.org/
> [2] https://github.com/SoMainline/linux/commits/topic/a7xx_dt
> [3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23217
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> Konrad Dybcio (14):
> dt-bindings: display/msm/gmu: Add Adreno 7[34]0 GMU
> dt-bindings: display/msm/gmu: Allow passing QMP handle
> dt-bindings: display/msm/gpu: Allow A7xx SKUs
> drm/msm/a6xx: Add missing regs for A7XX
> drm/msm/a6xx: Introduce a6xx_llc_read
> drm/msm/a6xx: Move LLC accessors to the common header
> drm/msm/a6xx: Bail out early if setting GPU OOB fails
> drm/msm/a6xx: Add skeleton A7xx support
> drm/msm/a6xx: Send ACD state to QMP at GMU resume
> drm/msm/a6xx: Mostly implement A7xx gpu_state
> drm/msm/a6xx: Add A730 support
> drm/msm/a6xx: Add A740 support
> drm/msm/a6xx: Vastly increase HFI timeout
> [RFC] drm/msm/a6xx: Poll for GBIF unhalt status in hw_init
>
> .../devicetree/bindings/display/msm/gmu.yaml | 47 +-
> .../devicetree/bindings/display/msm/gpu.yaml | 4 +-
> drivers/gpu/drm/msm/adreno/a6xx.xml.h | 9 +
> drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 188 ++++--
> drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 3 +
> drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h | 8 +
> drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 658 ++++++++++++++++++---
> drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 15 +
> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 52 +-
> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h | 61 +-
> drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 90 ++-
> drivers/gpu/drm/msm/adreno/adreno_device.c | 26 +
> drivers/gpu/drm/msm/adreno/adreno_gpu.c | 7 +-
> drivers/gpu/drm/msm/adreno/adreno_gpu.h | 24 +-
> drivers/gpu/drm/msm/msm_ringbuffer.h | 2 +
> 15 files changed, 1070 insertions(+), 124 deletions(-)
> ---
> base-commit: 6f9b660e9cbb30669fcfec83288d527c0844717d
> change-id: 20230628-topic-a7xx_drmmsm-123f30d76cf7
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # sm8450
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-07-31 16:43 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 20:35 [PATCH 00/14] A7xx support Konrad Dybcio
2023-06-28 20:35 ` [PATCH 01/14] dt-bindings: display/msm/gmu: Add Adreno 7[34]0 GMU Konrad Dybcio
2023-07-04 8:25 ` Krzysztof Kozlowski
2023-06-28 20:35 ` [PATCH 02/14] dt-bindings: display/msm/gmu: Allow passing QMP handle Konrad Dybcio
2023-07-04 8:29 ` Krzysztof Kozlowski
2023-07-15 15:15 ` Konrad Dybcio
2023-06-28 20:35 ` [PATCH 03/14] dt-bindings: display/msm/gpu: Allow A7xx SKUs Konrad Dybcio
2023-07-04 8:30 ` Krzysztof Kozlowski
2023-06-28 20:35 ` [PATCH 04/14] drm/msm/a6xx: Add missing regs for A7XX Konrad Dybcio
2023-06-28 20:35 ` [PATCH 05/14] drm/msm/a6xx: Introduce a6xx_llc_read Konrad Dybcio
2023-06-28 20:35 ` [PATCH 06/14] drm/msm/a6xx: Move LLC accessors to the common header Konrad Dybcio
2023-06-28 20:35 ` [PATCH 07/14] drm/msm/a6xx: Bail out early if setting GPU OOB fails Konrad Dybcio
2023-06-28 20:35 ` [PATCH 08/14] drm/msm/a6xx: Add skeleton A7xx support Konrad Dybcio
2023-06-28 20:35 ` [PATCH 09/14] drm/msm/a6xx: Send ACD state to QMP at GMU resume Konrad Dybcio
2023-06-28 20:35 ` [PATCH 10/14] drm/msm/a6xx: Mostly implement A7xx gpu_state Konrad Dybcio
2023-06-28 20:35 ` [PATCH 11/14] drm/msm/a6xx: Add A730 support Konrad Dybcio
2023-06-28 20:35 ` [PATCH 12/14] drm/msm/a6xx: Add A740 support Konrad Dybcio
2023-06-28 20:35 ` [PATCH 13/14] drm/msm/a6xx: Vastly increase HFI timeout Konrad Dybcio
2023-06-28 20:35 ` [PATCH RFC 14/14] drm/msm/a6xx: Poll for GBIF unhalt status in hw_init Konrad Dybcio
2023-07-31 16:42 ` Dmitry Baryshkov [this message]
2023-08-03 8:48 ` [PATCH 00/14] A7xx support Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c68358a7-ee21-2d0a-71ab-cd1f9a3e1afe@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=quic_abhinavk@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sean@poorly.run \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).