Files
thead-kernel/drivers/nna/Kconfig
Mingzheng Xing 9e49618e75 driver: add npu-ax3386-gpl
Add a new driver npu-ax3386-gpl, default compile as module.
The default generated modules are:
- vha.ko
- img_mem.ko
- vha_info.ko

Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
2023-07-19 02:15:19 +08:00

28 lines
785 B
Plaintext

menuconfig VHA
tristate "IMG neural network accelerator"
default m
if VHA
choice
prompt "VHA platform"
config VHA_THEAD_LIGHT_FPGA_C910
bool "driver runs with T-Head Light-FPGA hw platform using a device tree."
select HW_AX3
config VHA_DUMMY
bool "driver runs without hardware."
endchoice
config TARGET_OSID
int
default 0
config HW_AX3
bool "driver runs AX31xx/AX33xx/AX35xx hardware."
select VHA_MMU_MIRRORED_CTX
select VHA_SYS_AURA
config VHA_MMU_MIRRORED_CTX
bool "driver is compiled with mirrored MMU page tables regarding MODEL & IO."
depends on HW_AX3
config VHA_SYS_AURA
bool "driver runs with Aura system configuration file."
depends on HW_AX3
endif