From: Thierry Reding <thierry.reding@gmail.com>
To: Mikko Perttunen <cyndis@kapsi.fi>
Cc: David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
Mikko Perttunen <mperttunen@nvidia.com>,
Ashish Mhetre <amhetre@nvidia.com>,
Sameer Pujar <spujar@nvidia.com>,
dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/8] Support for NVDEC on Tegra234
Date: Mon, 24 Oct 2022 15:15:52 +0200 [thread overview]
Message-ID: <Y1aQCG3IxL+SNTv+@orome> (raw)
In-Reply-To: <20220920081203.3237744-1-cyndis@kapsi.fi>
[-- Attachment #1: Type: text/plain, Size: 3289 bytes --]
On Tue, Sep 20, 2022 at 11:11:55AM +0300, Mikko Perttunen wrote:
> From: Mikko Perttunen <mperttunen@nvidia.com>
>
> v3:
> * Updated patch 3 based on comments
>
> v2:
> * Updated patches 1,3 based on comments
> * Added Acked-by to patch 2
>
> Original message:
>
> Hi all,
>
> this series adds support for the HW video decoder, NVDEC,
> on Tegra234 (Orin). The main change is a switch from Falcon
> to RISC-V for the internal microcontroller, which brings along
> a change in how the engine is booted. Otherwise it is backwards
> compatible with earlier versions.
>
> In previous iterations, firmware was simply loaded from disk and
> written into engine internal memory. Now, the engine has a
> bootrom that loads the firmware from a carveout where it has been
> loaded by the system bootloader; however, we still need to tell it
> where that carveout is loaded and some offsets into it. For that,
> the first patch adds a new memory controller API to query the
> carveout address. The offsets are read from device tree -- the
> expectation is that at flashing time (when the firmware is also
> flashed), the flasher also delivers a device tree overlay with
> values corresponding to the flashed firmware.
>
> The currently available Linux for Tegra release doesn't yet
> include this device tree overlay flashing, and the firmware version
> it contains is incompatible with this series. The plan is to fix
> that for the next Linux for Tegra release, but if necessary, we
> can postpone merging of this series to once those changes are
> available.
>
> Thanks!
> Mikko
>
> Mikko Perttunen (8):
> memory: tegra: Add API for retrieving carveout bounds
> dt-bindings: Add headers for NVDEC on Tegra234
> dt-bindings: Add bindings for Tegra234 NVDEC
> arm64: tegra: Add NVDEC on Tegra234
> gpu: host1x: Add stream ID register data for NVDEC on Tegra234
> drm/tegra: nvdec: Support multiple clocks
> drm/tegra: Add code for booting RISC-V based engines
> drm/tegra: Add Tegra234 support to NVDEC driver
>
> .../gpu/host1x/nvidia,tegra234-nvdec.yaml | 156 ++++++++++++++++
> arch/arm64/boot/dts/nvidia/tegra234.dtsi | 27 +++
> drivers/gpu/drm/tegra/Makefile | 3 +-
> drivers/gpu/drm/tegra/drm.c | 1 +
> drivers/gpu/drm/tegra/nvdec.c | 171 +++++++++++++++---
> drivers/gpu/drm/tegra/riscv.c | 106 +++++++++++
> drivers/gpu/drm/tegra/riscv.h | 30 +++
> drivers/gpu/host1x/dev.c | 12 ++
> drivers/memory/tegra/mc.c | 25 +++
> drivers/memory/tegra/tegra234.c | 5 +
> include/dt-bindings/clock/tegra234-clock.h | 4 +
> include/dt-bindings/memory/tegra234-mc.h | 3 +
> .../dt-bindings/power/tegra234-powergate.h | 1 +
> include/dt-bindings/reset/tegra234-reset.h | 1 +
> include/soc/tegra/mc.h | 11 ++
> 15 files changed, 530 insertions(+), 26 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml
> create mode 100644 drivers/gpu/drm/tegra/riscv.c
> create mode 100644 drivers/gpu/drm/tegra/riscv.h
Applied, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2022-10-24 20:47 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-20 8:11 [PATCH v3 0/8] Support for NVDEC on Tegra234 Mikko Perttunen
2022-09-20 8:11 ` [PATCH v3 1/8] memory: tegra: Add API for retrieving carveout bounds Mikko Perttunen
2022-09-21 7:28 ` Krzysztof Kozlowski
2022-09-21 18:37 ` Krzysztof Kozlowski
2022-09-21 18:54 ` Mikko Perttunen
2022-10-24 13:15 ` Thierry Reding
2022-11-04 15:33 ` Jon Hunter
2022-11-04 15:35 ` Krzysztof Kozlowski
2022-11-04 15:46 ` Jon Hunter
2022-11-04 15:48 ` Krzysztof Kozlowski
2022-11-04 16:01 ` Jon Hunter
2022-09-20 8:11 ` [PATCH v3 2/8] dt-bindings: Add headers for NVDEC on Tegra234 Mikko Perttunen
2022-09-20 8:11 ` [PATCH v3 3/8] dt-bindings: Add bindings for Tegra234 NVDEC Mikko Perttunen
2022-10-03 16:16 ` Rob Herring
2022-09-20 8:11 ` [PATCH v3 4/8] arm64: tegra: Add NVDEC on Tegra234 Mikko Perttunen
2022-09-20 8:12 ` [PATCH v3 5/8] gpu: host1x: Add stream ID register data for " Mikko Perttunen
2022-09-20 8:12 ` [PATCH v3 6/8] drm/tegra: nvdec: Support multiple clocks Mikko Perttunen
2022-09-20 8:12 ` [PATCH v3 7/8] drm/tegra: Add code for booting RISC-V based engines Mikko Perttunen
2022-09-20 8:12 ` [PATCH v3 8/8] drm/tegra: Add Tegra234 support to NVDEC driver Mikko Perttunen
2022-09-21 7:26 ` [PATCH v3 0/8] Support for NVDEC on Tegra234 Krzysztof Kozlowski
2022-09-21 7:50 ` Mikko Perttunen
2022-09-21 7:53 ` Krzysztof Kozlowski
2022-10-24 13:15 ` Thierry Reding [this message]
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=Y1aQCG3IxL+SNTv+@orome \
--to=thierry.reding@gmail.com \
--cc=airlied@linux.ie \
--cc=amhetre@nvidia.com \
--cc=cyndis@kapsi.fi \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jonathanh@nvidia.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=robh+dt@kernel.org \
--cc=spujar@nvidia.com \
/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