From: Gregory Williams <gregory.williams@amd.com>
To: <ogabbay@kernel.org>, <michal.simek@amd.com>, <robh@kernel.org>
Cc: Gregory Williams <gregory.williams@amd.com>,
<dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH V1 0/9] AMD AI Engine device driver for Versal
Date: Wed, 2 Jul 2025 08:56:21 -0700 [thread overview]
Message-ID: <20250702155630.1737227-1-gregory.williams@amd.com> (raw)
Hi,
AI engine is a tile array based acceleration engine provided by AMD.
These engines provide high compute density for vector-based algorithms
and flexible custom compute and data movement. It has core tiles for
compute, memory tiles for local storage, and shim tiles to interface the
FPGA fabric and DDR. More details about the architecture can be found
here: https://www.amd.com/en/products/adaptive-socs-and-fpgas/technologies/ai-engine.html
This patchset introduces a driver for the AMD AI Engine in AMD Versal
devices. The driver manages the AI Engine array and allows users to
request an AI Engine partition (group of AI Engine tiles) for their
application.
Note, two Versal firmware patches are included as they contain
functionality for the AI Engines.
Thanks,
Gregory Williams
Gregory Williams (7):
dt-bindings: power: Add AMD Versal power domain bindings
dt-bindings: soc: xilinx: Add AI engine DT binding
accel: amd-ai-engine: Add AMD AI Engine device driver
accel: amd-ai-engine: Add support to enable/disable clocks and change
clock frequency
accel: amd-ai-engine: Add support for AIEML devices
accel: amd-ai-engine: Create tile memory information
accel: amd-ai-engine: Adds AI Engine reset operations
Ronak Jain (2):
firmware: xilinx: Add IOCTL support for the AIE run time operations
firmware: xilinx: Add IOCTL support to query QoS
.../bindings/soc/xilinx/xlnx,ai-engine.yaml | 151 +++++++
MAINTAINERS | 9 +
drivers/accel/Kconfig | 1 +
drivers/accel/Makefile | 1 +
drivers/accel/amd-ai-engine/Kconfig | 15 +
drivers/accel/amd-ai-engine/Makefile | 15 +
drivers/accel/amd-ai-engine/ai-engine-aie.c | 423 ++++++++++++++++++
drivers/accel/amd-ai-engine/ai-engine-aieml.c | 362 +++++++++++++++
.../accel/amd-ai-engine/ai-engine-aperture.c | 195 ++++++++
drivers/accel/amd-ai-engine/ai-engine-clock.c | 326 ++++++++++++++
drivers/accel/amd-ai-engine/ai-engine-dev.c | 230 ++++++++++
.../accel/amd-ai-engine/ai-engine-internal.h | 360 +++++++++++++++
drivers/accel/amd-ai-engine/ai-engine-part.c | 167 +++++++
drivers/accel/amd-ai-engine/ai-engine-res.c | 184 ++++++++
drivers/accel/amd-ai-engine/ai-engine-reset.c | 300 +++++++++++++
drivers/firmware/xilinx/zynqmp.c | 46 ++
include/dt-bindings/power/xlnx-versal-power.h | 55 +++
include/linux/amd-ai-engine.h | 73 +++
include/linux/firmware/xlnx-zynqmp.h | 36 ++
19 files changed, 2949 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,ai-engine.yaml
create mode 100644 drivers/accel/amd-ai-engine/Kconfig
create mode 100644 drivers/accel/amd-ai-engine/Makefile
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-aie.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-aieml.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-aperture.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-clock.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-dev.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-internal.h
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-part.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-res.c
create mode 100644 drivers/accel/amd-ai-engine/ai-engine-reset.c
create mode 100644 include/dt-bindings/power/xlnx-versal-power.h
create mode 100644 include/linux/amd-ai-engine.h
--
2.34.1
next reply other threads:[~2025-07-02 15:56 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 15:56 Gregory Williams [this message]
2025-07-02 15:56 ` [PATCH V1 1/9] firmware: xilinx: Add IOCTL support for the AIE run time operations Gregory Williams
2025-07-03 6:50 ` Krzysztof Kozlowski
2025-07-10 18:49 ` Williams, Gregory
2025-07-02 15:56 ` [PATCH V1 2/9] firmware: xilinx: Add IOCTL support to query QoS Gregory Williams
2025-07-02 15:56 ` [PATCH V1 3/9] dt-bindings: power: Add AMD Versal power domain bindings Gregory Williams
2025-07-03 6:43 ` Krzysztof Kozlowski
2025-07-10 18:53 ` Williams, Gregory
2025-07-10 21:34 ` Krzysztof Kozlowski
2025-07-02 15:56 ` [PATCH V1 4/9] dt-bindings: soc: xilinx: Add AI engine DT binding Gregory Williams
2025-07-03 6:48 ` Krzysztof Kozlowski
2025-07-10 19:03 ` Williams, Gregory
2025-07-10 21:38 ` Krzysztof Kozlowski
2025-07-11 18:33 ` Williams, Gregory
2025-07-12 7:33 ` Krzysztof Kozlowski
2025-07-14 14:51 ` Williams, Gregory
2025-07-02 15:56 ` [PATCH V1 5/9] accel: amd-ai-engine: Add AMD AI Engine device driver Gregory Williams
2025-07-02 15:56 ` [PATCH V1 6/9] accel: amd-ai-engine: Add support to enable/disable clocks and change clock frequency Gregory Williams
2025-07-02 15:56 ` [PATCH V1 7/9] accel: amd-ai-engine: Add support for AIEML devices Gregory Williams
2025-07-02 15:56 ` [PATCH V1 8/9] accel: amd-ai-engine: Create tile memory information Gregory Williams
2025-07-02 15:56 ` [PATCH V1 9/9] accel: amd-ai-engine: Adds AI Engine reset operations Gregory Williams
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=20250702155630.1737227-1-gregory.williams@amd.com \
--to=gregory.williams@amd.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=ogabbay@kernel.org \
--cc=robh@kernel.org \
/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
all inboxes | Powered by JetHome®