| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | config DRM_ACCEL_ROCKET |
| 4 | tristate "Rocket (support for Rockchip NPUs)" |
| 5 | depends on DRM_ACCEL |
| 6 | depends on (ARCH_ROCKCHIP && ARM64) || COMPILE_TEST |
| 7 | depends on ROCKCHIP_IOMMU || COMPILE_TEST |
| 8 | depends on MMU |
| 9 | select DRM_SCHED |
| 10 | select DRM_GEM_SHMEM_HELPER |
| 11 | help |
| 12 | Choose this option if you have a Rockchip SoC that contains a |
| 13 | compatible Neural Processing Unit (NPU), such as the RK3588. Called by |
| 14 | Rockchip either RKNN or RKNPU, it accelerates inference of neural |
| 15 | networks. |
| 16 | |
| 17 | The interface exposed to userspace is described in |
| 18 | include/uapi/drm/rocket_accel.h and is used by the Rocket userspace |
| 19 | driver in Mesa3D. |
| 20 | |
| 21 | If unsure, say N. |
| 22 | |
| 23 | To compile this driver as a module, choose M here: the |
| 24 | module will be called rocket. |