History log of /linux/drivers/gpu/nova-core/selftest.rs (Results 1 – 1 of 1)
Revision Date Author Comments
# 2c76c4ec 27-Aug-2026 Eliot Courtney <ecourtney@nvidia.com>

gpu: nova-core: Add self-test assertion macros and config option

The existing assert! and assert_eq! macros cause a panic. For self tests
in nova-core, it's inconvenient to cause a panic since these

gpu: nova-core: Add self-test assertion macros and config option

The existing assert! and assert_eq! macros cause a panic. For self tests
in nova-core, it's inconvenient to cause a panic since these need to be
run on actual hardware. Instead, define similar macros that log an error
then return an Err.

Also add the NOVA_CORE_SELFTESTS Kconfig option that gates the driver
self-tests.

Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260827-pramin-split-v3-9-24b24d7afc52@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>

show more ...