[Intel-gfx] [PATCH i-g-t 1/2] gem_fence_upload: Move to benchmarks

Tvrtko Ursulin tursulin at ursulin.net
Thu Jun 8 09:58:11 UTC 2017


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

This is not a correctness test so move it to benchmarks and off
the extended test list.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 benchmarks/.gitignore                    | 1 +
 benchmarks/Makefile.am                   | 3 +++
 benchmarks/Makefile.sources              | 1 +
 {tests => benchmarks}/gem_fence_upload.c | 0
 tests/Makefile.am                        | 2 --
 tests/Makefile.sources                   | 1 -
 tests/intel-ci/extended.testlist         | 5 -----
 7 files changed, 5 insertions(+), 8 deletions(-)
 rename {tests => benchmarks}/gem_fence_upload.c (100%)

diff --git a/benchmarks/.gitignore b/benchmarks/.gitignore
index 56daa1fd33f4..abd76ec9bf91 100644
--- a/benchmarks/.gitignore
+++ b/benchmarks/.gitignore
@@ -7,6 +7,7 @@ gem_exec_fault
 gem_exec_nop
 gem_exec_reloc
 gem_exec_trace
+gem_fence_upload
 gem_latency
 gem_mmap
 gem_prw
diff --git a/benchmarks/Makefile.am b/benchmarks/Makefile.am
index 767731f7d18f..fca023083a6e 100644
--- a/benchmarks/Makefile.am
+++ b/benchmarks/Makefile.am
@@ -15,6 +15,9 @@ benchmarks_LTLIBRARIES = gem_exec_tracer.la
 gem_exec_tracer_la_LDFLAGS = -module -avoid-version -no-undefined
 gem_exec_tracer_la_LIBADD = -ldl
 
+gem_fence_upload_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
+gem_fence_upload_LDADD = $(LDADD) -lpthread
+
 gem_latency_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
 gem_latency_LDADD = $(LDADD) -lpthread
 gem_syslatency_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
diff --git a/benchmarks/Makefile.sources b/benchmarks/Makefile.sources
index d150035aa5db..e87a83876ef4 100644
--- a/benchmarks/Makefile.sources
+++ b/benchmarks/Makefile.sources
@@ -9,6 +9,7 @@ benchmarks_prog_list =			\
 	gem_exec_nop			\
 	gem_exec_reloc			\
 	gem_exec_trace			\
+	gem_fence_upload		\
 	gem_latency			\
 	gem_mmap			\
 	gem_prw				\
diff --git a/tests/gem_fence_upload.c b/benchmarks/gem_fence_upload.c
similarity index 100%
rename from tests/gem_fence_upload.c
rename to benchmarks/gem_fence_upload.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 12cc6dc48c12..0596529c0d96 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -89,8 +89,6 @@ gem_exec_parallel_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
 gem_exec_parallel_LDADD = $(LDADD) -lpthread
 gem_fence_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
 gem_fence_thrash_LDADD = $(LDADD) -lpthread
-gem_fence_upload_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
-gem_fence_upload_LDADD = $(LDADD) -lpthread
 gem_flink_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
 gem_flink_race_LDADD = $(LDADD) -lpthread
 gem_mmap_gtt_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index b3a680e9d75e..3e71582905e2 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -63,7 +63,6 @@ TESTS_progs_M = \
 	gem_exec_whisper \
 	gem_fenced_exec_thrash \
 	gem_fence_thrash \
-	gem_fence_upload \
 	gem_flink_basic \
 	gem_flink_race \
 	gem_linear_blits \
diff --git a/tests/intel-ci/extended.testlist b/tests/intel-ci/extended.testlist
index a16c9c8487d6..24ec295faf66 100644
--- a/tests/intel-ci/extended.testlist
+++ b/tests/intel-ci/extended.testlist
@@ -1446,11 +1446,6 @@ igt at gem_fence_thrash@bo-write-verify-threaded-x
 igt at gem_fence_thrash@bo-write-verify-threaded-y
 igt at gem_fence_thrash@bo-write-verify-x
 igt at gem_fence_thrash@bo-write-verify-y
-igt at gem_fence_upload@performance
-igt at gem_fence_upload@thread-contention
-igt at gem_fence_upload@thread-performance-both
-igt at gem_fence_upload@thread-performance-read
-igt at gem_fence_upload@thread-performance-write
 igt at gem_fenced_exec_thrash@2-spare-fences
 igt at gem_fenced_exec_thrash@no-spare-fences
 igt at gem_fenced_exec_thrash@no-spare-fences-busy
-- 
2.9.4



More information about the Intel-gfx mailing list