Kconfig 781 B

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