This source file includes following definitions.
- test_drm_modeset_init
- test_drm_modeset_exit
1
2
3
4
5
6 #include <linux/module.h>
7
8 #include "test-drm_modeset_common.h"
9
10 #define TESTS "drm_modeset_selftests.h"
11 #include "drm_selftest.h"
12
13 #include "drm_selftest.c"
14
15 static int __init test_drm_modeset_init(void)
16 {
17 int err;
18
19 err = run_selftests(selftests, ARRAY_SIZE(selftests), NULL);
20
21 return err > 0 ? 0 : err;
22 }
23
24 static void __exit test_drm_modeset_exit(void)
25 {
26 }
27
28 module_init(test_drm_modeset_init);
29 module_exit(test_drm_modeset_exit);
30
31 MODULE_AUTHOR("Intel Corporation");
32 MODULE_LICENSE("GPL");