> 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 <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=14
