summaryrefslogtreecommitdiff
path: root/tests/Makefile.sources
blob: da8724996db2c89b8b067d02f0d584c1a9ee7d8f (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
noinst_PROGRAMS = \
	gem_alive \
	gem_stress \
	ddi_compute_wrpll \
	$(TESTS_progs) \
	$(TESTS_progs_M) \
	$(HANG) \
	$(TESTS_testsuite) \
	$(NULL)

NOUVEAU_TESTS_M = \
	prime_nv_api \
	prime_nv_pcopy \
	prime_nv_test \
	$(NULL)

TESTS_progs_M = \
	core_get_client_auth \
	drv_suspend \
	gem_bad_reloc \
	gem_basic \
	gem_caching \
	gem_close_race \
	gem_concurrent_blit \
	gem_cs_tlb \
	gem_ctx_bad_exec \
	gem_ctx_exec \
	gem_dummy_reloc_loop \
	gem_evict_alignment \
	gem_evict_everything \
	gem_exec_bad_domains \
	gem_exec_faulting_reloc \
	gem_exec_nop \
	gem_exec_params \
	gem_exec_parse \
	gem_fenced_exec_thrash \
	gem_fence_thrash \
	gem_flink \
	gem_flink_race \
	gem_linear_blits \
	gem_madvise \
	gem_mmap \
	gem_mmap_gtt \
	gem_partial_pwrite_pread \
	gem_persistent_relocs \
	gem_pipe_control_store_loop \
	gem_pread \
	gem_pread_after_blit \
	gem_pwrite \
	gem_pwrite_pread \
	gem_readwrite \
	gem_reloc_overflow \
	gem_reloc_vs_gpu \
	gem_reset_stats \
	gem_ringfill \
	gem_set_tiling_vs_blt \
	gem_storedw_batches_loop \
	gem_tiled_blits \
	gem_tiled_partial_pwrite_pread \
	gem_write_read_ring_switch \
	kms_addfb \
	kms_cursor_crc \
	kms_fbc_crc \
	kms_fence_pin_leak \
	kms_flip \
	kms_flip_tiling \
	kms_pipe_crc_basic \
	kms_plane \
	kms_render \
	kms_setmode \
	pm_lpsp \
	pm_rpm \
	pm_rps \
	prime_self_import \
	template \
	$(NULL)

TESTS_progs = \
	core_getclient \
	core_getstats \
	core_getversion \
	drm_vma_limiter \
	drm_vma_limiter_cached \
	drm_vma_limiter_cpu \
	drm_vma_limiter_gtt \
	gem_bad_length \
	gem_cpu_reloc \
	gem_cs_prefetch \
	gem_ctx_bad_destroy \
	gem_ctx_basic \
	gem_ctx_create \
	gem_double_irq_loop \
	gem_exec_big \
	gem_exec_blt \
	gem_exec_lut_handle \
	gem_fd_exhaustion \
	gem_gtt_cpu_tlb \
	gem_gtt_hog \
	gem_gtt_speed \
	gem_hangcheck_forcewake \
	gem_largeobject \
	gem_lut_handle \
	gem_mmap_offset_exhaustion \
	gem_media_fill \
	gem_pin \
	gem_reg_read \
	gem_render_copy \
	gem_render_copy_redux \
	gem_render_linear_blits \
	gem_render_tiled_blits \
	gem_ring_sync_copy \
	gem_ring_sync_loop \
	gem_multi_bsd_sync_loop \
	gem_seqno_wrap \
	gem_set_tiling_vs_gtt \
	gem_set_tiling_vs_pwrite \
	gem_storedw_loop_blt \
	gem_storedw_loop_bsd \
	gem_storedw_loop_render \
	gem_storedw_loop_vebox \
	gem_threaded_access_tiled \
	gem_tiled_fence_blits \
	gem_tiled_pread \
	gem_tiled_pread_pwrite \
	gem_tiled_swapping \
	gem_tiling_max_stride \
	gem_unfence_active_buffers \
	gem_unref_active_buffers \
	gem_userptr_blits \
	gem_wait_render_timeout \
	gen3_mixed_blits \
	gen3_render_linear_blits \
	gen3_render_mixed_blits \
	gen3_render_tiledx_blits \
	gen3_render_tiledy_blits \
	gen7_forcewake_mt \
	pm_psr \
	pm_rc6_residency \
	prime_udl \
	$(NULL)

# IMPORTANT: The ZZ_ tests need to be run last!
# ... and make can't deal with inlined comments ...
TESTS_scripts_M = \
	$(NULL)

TESTS_scripts = \
	debugfs_emon_crash \
	drv_debugfs_reader \
	drv_hangman \
	drv_missed_irq_hang \
	drv_module_reload \
	kms_sysfs_edid_timing \
	sysfs_l3_parity \
	test_rte_check \
	tools_test \
	$(NULL)

# This target contains testcases which support automagic subtest enumeration
# from the piglit testrunner with --list-subtests and running individual
# subtests with --run-subtest <testname>
#
# Your testcase should probably use an igt_main and igt_fixture and should have
# a pile of igt_subtest blocks.
multi_kernel_tests = \
	$(TESTS_progs_M) \
	$(TESTS_scripts_M) \
	$(NULL)

# This target is for simple testcase which don't expose any subtest.
#
# Your testcase should probably use igt_simple_main, but none of the other magic
# blocks like igt_fixture or igt_subtest.
single_kernel_tests = \
	$(TESTS_progs) \
	$(TESTS_scripts) \
	$(NULL)

kernel_tests = \
	$(single_kernel_tests) \
	$(multi_kernel_tests) \
	$(NULL)

TESTS_testsuite = \
	igt_no_exit \
	igt_no_exit_list_only \
	igt_fork_helper \
	igt_list_only \
	igt_no_subtest \
	igt_simulation \
	$(NULL)

TESTS = \
	$(TESTS_testsuite) \
	$(NULL)

# Test that exercise specific asserts in the test framework library and are
# hence expected to fail.
XFAIL_TESTS = \
	igt_no_exit \
	igt_no_exit_list_only \
	igt_no_subtest \
	$(NULL)

# IMPORTANT: These tests here are all disabled because the result in sometime
# unrecoverable gpu hangs. Don't put real testcases here.
HANG = \
	gem_bad_batch \
	gem_hang \
	gem_bad_blit \
	gem_bad_address \
	gem_non_secure_batch \
	$(NULL)

scripts = \
	check_drm_clients \
	ddx_intel_after_fbdev \
	debugfs_wedged \
	drm_lib.sh \
	$(NULL)

IMAGES = pass.png 1080p-left.png 1080p-right.png

testdisplay_SOURCES = \
	testdisplay.c \
	testdisplay.h \
	testdisplay_hotplug.c \
	$(NULL)

TESTS_progs += testdisplay

common_files = \
	       eviction_common.c \
	       $(NULL)