File: xe_live_ktest.c

package info (click to toggle)
intel-gpu-tools 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,360 kB
  • sloc: xml: 781,458; ansic: 360,567; python: 8,336; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (62 lines) | stat: -rw-r--r-- 1,406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#include "igt.h"
#include "igt_kmod.h"

/**
 * TEST: Xe driver live kunit tests
 * Description: Xe driver live dmabuf unit tests
 * Category: Core
 * Mega feature: General Core features
 * Sub-category: kunit
 * Functionality: kunit test
 * Test category: functionality test
 *
 * SUBTEST: xe_bo
 * Description:
 *	Kernel dynamic selftests to check if GPU buffer objects are
 *	being handled properly.
 * Functionality: bo
 *
 * SUBTEST: xe_bo_shrink
 * Description:
 *	Kernel dynamic selftests to check BO swap path and shrinking path.
 * Functionality: bo
 *
 * SUBTEST: xe_dma_buf
 * Description: Kernel dynamic selftests for dmabuf functionality.
 * Functionality: dmabuf test
 *
 * SUBTEST: xe_migrate
 * Description:
 *	Kernel dynamic selftests to check if page table migrations
 *	are working properly.
 * Functionality: migrate
 *
 * SUBTEST: xe_mocs
 * Description:
 *	Kernel dynamic selftests to check mocs configuration.
 * Functionality: mocs configuration
 *
 * SUBTEST: xe_eudebug
 * Description:
 *	Kernel dynamic selftests to check eudebug functionality.
 * Functionality: eudebug kunit
 * Mega feature: EUdebug
 * Sub-category: kunit eudebug
 */

static const char *live_tests[] = {
	"xe_bo",
	"xe_bo_shrink",
	"xe_dma_buf",
	"xe_migrate",
	"xe_mocs",
	"xe_eudebug",
};

igt_main
{
	int i;

	for (i = 0; i < ARRAY_SIZE(live_tests); i++)
		igt_kunit("xe_live_test", live_tests[i], NULL);
}