2022-12-01 11:38:37

by Tomeu Vizoso

[permalink] [raw]
Subject: [PATCH v5 0/7] Support for the NPU in Vim3

Hi,

This series adds support for the Verisilicon VIPNano-QI NPU in the A311D
as in the VIM3 board.

The IP is very closely based on previous Vivante GPUs, so the etnaviv
kernel driver works basically unchanged.

The userspace part of the driver is being reviewed at:

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18986

v2: Move reference to RESET_NNA to npu node (Neil)
v3: Fix indentation mistake (Neil)
v4: Add warning when etnaviv probes on a NPU (Lucas)
v5: Reorder HWDB commit to be the last (Lucas)

Regards,

Tomeu

Tomeu Vizoso (7):
dt-bindings: reset: meson-g12a: Add missing NNA reset
dt-bindings: power: Add G12A NNA power domain
soc: amlogic: meson-pwrc: Add NNA power domain for A311D
arm64: dts: Add DT node for the VIPNano-QI on the A311D
drm/etnaviv: Add nn_core_count to chip feature struct
drm/etnaviv: Warn when probing on NPUs
drm/etnaviv: add HWDB entry for VIPNano-QI.7120.0055

.../boot/dts/amlogic/meson-g12-common.dtsi | 11 ++++++
.../amlogic/meson-g12b-a311d-khadas-vim3.dts | 4 +++
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 +++
drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 3 ++
drivers/gpu/drm/etnaviv/etnaviv_hwdb.c | 35 +++++++++++++++++++
drivers/soc/amlogic/meson-ee-pwrc.c | 17 +++++++++
include/dt-bindings/power/meson-g12a-power.h | 1 +
.../reset/amlogic,meson-g12a-reset.h | 4 ++-
8 files changed, 78 insertions(+), 1 deletion(-)

--
2.38.1