diff options
| author | 2026-09-11 14:44:07 +0200 | |
|---|---|---|
| committer | 2026-09-17 09:16:41 +0200 | |
| commit | efb67f52fb36186935a56bc2ceda6567dfd97c47 (patch) | |
| tree | b4e48c68b8ff9af6079e6ad5eb9e7981886c2106 /scripts/objdiff | |
| parent | drm/panic: Move panic display code into helper library (diff) | |
drm/panic: Compile KUnit tests as module
Fix dependency of the panic-helper KUnit tests on CONFIG_DRM_KUNIT_TEST=y
and make them build as a module. Export the necessary interfaces from the
panic helpers iff the KUnit framework has been enabled.
Select DRM_PANIC_HELPER from DRM_KUNIT_TEST to meet the dependencies of
the panic-helper tests.
It is now possible to run the tests by modprobe-ing drm_panic_helper_test
at runtime.
v5:
- clear test description with drm_panic_helper_clear_description() (Sashiko)
v3:
- clean up after each test case (Sashiko)
v2:
- fix parameter order in decl of drm_panic_helper_draw_screen_qr()
(Sashiko)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260911124540.279841-15-tzimmermann@suse.de
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
