mirror of
https://github.com/revyos/thead-kernel.git
synced 2026-08-10 08:11:21 +02:00
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>
28 lines
785 B
Plaintext
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
|