1benchmark_progs = [
2	'gem_blt',
3	'gem_busy',
4	'gem_create',
5	'gem_exec_ctx',
6	'gem_exec_fault',
7	'gem_exec_nop',
8	'gem_exec_reloc',
9	'gem_exec_trace',
10	'gem_latency',
11	'gem_mmap',
12	'gem_prw',
13	'gem_set_domain',
14	'gem_syslatency',
15	'kms_vblank',
16	'prime_lookup',
17	'vgem_mmap',
18]
19
20if libdrm_intel.found()
21	benchmark_progs += [
22		'intel_upload_blit_large',
23		'intel_upload_blit_large_gtt',
24		'intel_upload_blit_large_map',
25		'intel_upload_blit_small',
26		'gem_userptr_benchmark',
27	]
28endif
29
30benchmarksdir = join_paths(libexecdir, 'benchmarks')
31
32foreach prog : benchmark_progs
33	executable(prog, prog + '.c',
34		   install : true,
35		   install_dir : benchmarksdir,
36		   dependencies : igt_deps)
37endforeach
38
39executable('gem_wsim', 'gem_wsim.c',
40	   install : true,
41	   install_dir : benchmarksdir,
42	   dependencies : igt_deps + [ lib_igt_perf ])
43