cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

test-drm_modeset_common.c (577B)


      1// SPDX-License-Identifier: GPL-2.0
      2/*
      3 * Common file for modeset selftests.
      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
     15static 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
     24static void __exit test_drm_modeset_exit(void)
     25{
     26}
     27
     28module_init(test_drm_modeset_init);
     29module_exit(test_drm_modeset_exit);
     30
     31MODULE_AUTHOR("Intel Corporation");
     32MODULE_LICENSE("GPL");