[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240612-6-10-rocket-v1-0-060e48eea250@tomeuvizoso.net>
Date: Wed, 12 Jun 2024 15:52:53 +0200
From: Tomeu Vizoso <tomeu@...euvizoso.net>
To: Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>, Heiko Stuebner <heiko@...ech.de>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Oded Gabbay <ogabbay@...nel.org>,
Tomeu Vizoso <tomeu.vizoso@...euvizoso.net>,
David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
Philipp Zabel <p.zabel@...gutronix.de>,
Sumit Semwal <sumit.semwal@...aro.org>,
Christian König <christian.koenig@....com>
Cc: iommu@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-media@...r.kernel.org, linaro-mm-sig@...ts.linaro.org,
Tomeu Vizoso <tomeu@...euvizoso.net>
Subject: [PATCH 0/9] New DRM accel driver for Rockchip's RKNN NPU
This series adds a new driver for the NPU that Rockchip includes in its
newer SoCs, developed by them on the NVDLA base.
In its current form, it supports the specific NPU in the RK3588 SoC.
The userspace driver is part of Mesa and an initial draft can be found at:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29698
Signed-off-by: Tomeu Vizoso <tomeu@...euvizoso.net>
---
Tomeu Vizoso (9):
iommu/rockchip: Add compatible for rockchip,rk3588-iommu
iommu/rockchip: Attach multiple power domains
dt-bindings: mailbox: rockchip,rknn: Add bindings
arm64: dts: rockchip: Add nodes for NPU and its MMU to rk3588s
arm64: dts: rockchip: Enable the NPU on quartzpro64
accel/rocket: Add a new driver for Rockchip's NPU
accel/rocket: Add IOCTL for BO creation
accel/rocket: Add job submission IOCTL
accel/rocket: Add IOCTLs for synchronizing memory accesses
.../devicetree/bindings/npu/rockchip,rknn.yaml | 123 +
MAINTAINERS | 8 +
.../arm64/boot/dts/rockchip/rk3588-quartzpro64.dts | 8 +
arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 53 +
drivers/accel/Kconfig | 1 +
drivers/accel/Makefile | 1 +
drivers/accel/rocket/Kconfig | 13 +
drivers/accel/rocket/Makefile | 10 +
drivers/accel/rocket/rocket_core.c | 155 +
drivers/accel/rocket/rocket_core.h | 48 +
drivers/accel/rocket/rocket_device.c | 39 +
drivers/accel/rocket/rocket_device.h | 40 +
drivers/accel/rocket/rocket_drv.c | 243 ++
drivers/accel/rocket/rocket_drv.h | 16 +
drivers/accel/rocket/rocket_gem.c | 136 +
drivers/accel/rocket/rocket_gem.h | 33 +
drivers/accel/rocket/rocket_job.c | 708 ++++
drivers/accel/rocket/rocket_job.h | 49 +
drivers/accel/rocket/rocket_registers.h | 4449 ++++++++++++++++++++
drivers/iommu/rockchip-iommu.c | 39 +
include/uapi/drm/rocket_accel.h | 116 +
21 files changed, 6288 insertions(+)
---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240612-6-10-rocket-9316defc14c7
Best regards,
--
Tomeu Vizoso <tomeu@...euvizoso.net>
Powered by blists - more mailing lists