linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V1 0/9] AMD AI Engine device driver for Versal
@ 2025-07-02 15:56 Gregory Williams
  2025-07-02 15:56 ` [PATCH V1 1/9] firmware: xilinx: Add IOCTL support for the AIE run time operations Gregory Williams
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Gregory Williams @ 2025-07-02 15:56 UTC (permalink / raw)
  To: ogabbay, michal.simek, robh
  Cc: Gregory Williams, dri-devel, devicetree, linux-kernel

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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-07-14 14:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 15:56 [PATCH V1 0/9] AMD AI Engine device driver for Versal Gregory Williams
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

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).