diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-08-27 17:51:50 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-09-07 11:56:17 +0900 |
| commit | 2c76c4ec9eb0c91f7b37795f83df8a34d4172285 (patch) | |
| tree | ef10b40230dae94ec66b4b0464315d2272415f1b /scripts/Makefile.thinlto | |
| parent | 5958450e98e52adb61c4967d67b76734ff9052c0 (diff) | |
| download | linux-next-2c76c4ec9eb0c91f7b37795f83df8a34d4172285.tar.gz linux-next-2c76c4ec9eb0c91f7b37795f83df8a34d4172285.zip | |
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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
