WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / selftests / test-drm_modeset_common.c
blob2a7f93774006a8577f1ca74b4b0cd5d6d91d8bf4
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Common file for modeset selftests.
4 */
6 #include <linux/module.h>
8 #include "test-drm_modeset_common.h"
10 #define TESTS "drm_modeset_selftests.h"
11 #include "drm_selftest.h"
13 #include "drm_selftest.c"
15 static int __init test_drm_modeset_init(void)
17 int err;
19 err = run_selftests(selftests, ARRAY_SIZE(selftests), NULL);
21 return err > 0 ? 0 : err;
24 static void __exit test_drm_modeset_exit(void)
28 module_init(test_drm_modeset_init);
29 module_exit(test_drm_modeset_exit);
31 MODULE_AUTHOR("Intel Corporation");
32 MODULE_LICENSE("GPL");