summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nova-core/Kconfig')
-rw-r--r--drivers/gpu/nova-core/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/nova-core/Kconfig b/drivers/gpu/nova-core/Kconfig
index f918f69e0599..2e11e46c99c7 100644
--- a/drivers/gpu/nova-core/Kconfig
+++ b/drivers/gpu/nova-core/Kconfig
@@ -5,6 +5,7 @@ config NOVA_CORE
depends on RUST
depends on !CPU_BIG_ENDIAN
select AUXILIARY_BUS
+ select GPU_BUDDY
select RUST_FW_LOADER_ABSTRACTIONS
default n
help
@@ -15,3 +16,17 @@ config NOVA_CORE
This driver is work in progress and may not be functional.
If M is selected, the module will be called nova-core.
+
+config NOVA_CORE_SELFTESTS
+ bool "Nova Core driver self-tests"
+ depends on NOVA_CORE
+ default n
+ help
+ Build the driver self-tests and run them when the GPU is probed.
+
+ If the interrupt delivery test fails, the probe fails and the driver
+ does not bind to the GPU. A broken interrupt path would otherwise
+ show up later as a hang, far from its cause. Every other self-test
+ logs its failure and lets the probe continue.
+
+ If unsure, say N.