[igt-dev] [PATCH i-g-t 2/3] tests/hw-tests: Move tests using EUs to hw-tests

Katarzyna Dec katarzyna.dec at intel.com
Tue Jun 12 06:56:24 UTC 2018


Since *_fill and rendercopy tests are not giving us any extra coverage
in i915 (but are good at excercising the HW), we can move them to the
newly created hw-tests directory to validate work of Exectution Units
and setting the graphics pipeline.

Signed-off-by: Katarzyna Dec <katarzyna.dec at intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Kalamarz Lukasz <lukasz.kalamarz at intel.com>
Cc: Antonio Argenziano <antonio.argenziano at intel.com>
---
 tests/Makefile.sources                         | 7 -------
 tests/hw-tests/Makefile.sources                | 7 +++++++
 tests/{ => hw-tests}/gem_gpgpu_fill.c          | 0
 tests/{ => hw-tests}/gem_media_fill.c          | 0
 tests/{ => hw-tests}/gem_render_copy.c         | 0
 tests/{ => hw-tests}/gem_render_copy_redux.c   | 0
 tests/{ => hw-tests}/gem_render_linear_blits.c | 0
 tests/{ => hw-tests}/gem_render_tiled_blits.c  | 0
 tests/hw-tests/meson.build                     | 7 +++++++
 tests/{ => hw-tests}/pm_sseu.c                 | 0
 tests/meson.build                              | 7 -------
 11 files changed, 14 insertions(+), 14 deletions(-)
 rename tests/{ => hw-tests}/gem_gpgpu_fill.c (100%)
 rename tests/{ => hw-tests}/gem_media_fill.c (100%)
 rename tests/{ => hw-tests}/gem_render_copy.c (100%)
 rename tests/{ => hw-tests}/gem_render_copy_redux.c (100%)
 rename tests/{ => hw-tests}/gem_render_linear_blits.c (100%)
 rename tests/{ => hw-tests}/gem_render_tiled_blits.c (100%)
 rename tests/{ => hw-tests}/pm_sseu.c (100%)

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index ad62611f..efdad7ba 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -97,7 +97,6 @@ TESTS_progs = \
 	gem_fenced_exec_thrash \
 	gem_flink_basic \
 	gem_flink_race \
-	gem_gpgpu_fill \
 	gem_gtt_cpu_tlb \
 	gem_gtt_hog \
 	gem_gtt_speed \
@@ -105,7 +104,6 @@ TESTS_progs = \
 	gem_linear_blits \
 	gem_lut_handle \
 	gem_madvise \
-	gem_media_fill \
 	gem_mmap \
 	gem_mmap_gtt \
 	gem_mmap_offset_exhaustion \
@@ -125,10 +123,6 @@ TESTS_progs = \
 	gem_reg_read \
 	gem_reloc_overflow \
 	gem_reloc_vs_gpu \
-	gem_render_copy \
-	gem_render_copy_redux \
-	gem_render_linear_blits \
-	gem_render_tiled_blits \
 	gem_request_retire \
 	gem_reset_stats \
 	gem_ring_sync_copy \
@@ -221,7 +215,6 @@ TESTS_progs = \
 	pm_rc6_residency \
 	pm_rpm \
 	pm_rps \
-	pm_sseu \
 	prime_busy \
 	prime_mmap \
 	prime_mmap_coherency \
diff --git a/tests/hw-tests/Makefile.sources b/tests/hw-tests/Makefile.sources
index a224da7c..e0038491 100644
--- a/tests/hw-tests/Makefile.sources
+++ b/tests/hw-tests/Makefile.sources
@@ -1,2 +1,9 @@
 hw_tests = \
+	gem_gpgpu_fill \
+	gem_media_fill \
+	pm_sseu \
+	gem_render_copy \
+	gem_render_copy_redux \
+	gem_render_linear_blits \
+	gem_render_tiled_blits \
 	 $(NULL)
diff --git a/tests/gem_gpgpu_fill.c b/tests/hw-tests/gem_gpgpu_fill.c
similarity index 100%
rename from tests/gem_gpgpu_fill.c
rename to tests/hw-tests/gem_gpgpu_fill.c
diff --git a/tests/gem_media_fill.c b/tests/hw-tests/gem_media_fill.c
similarity index 100%
rename from tests/gem_media_fill.c
rename to tests/hw-tests/gem_media_fill.c
diff --git a/tests/gem_render_copy.c b/tests/hw-tests/gem_render_copy.c
similarity index 100%
rename from tests/gem_render_copy.c
rename to tests/hw-tests/gem_render_copy.c
diff --git a/tests/gem_render_copy_redux.c b/tests/hw-tests/gem_render_copy_redux.c
similarity index 100%
rename from tests/gem_render_copy_redux.c
rename to tests/hw-tests/gem_render_copy_redux.c
diff --git a/tests/gem_render_linear_blits.c b/tests/hw-tests/gem_render_linear_blits.c
similarity index 100%
rename from tests/gem_render_linear_blits.c
rename to tests/hw-tests/gem_render_linear_blits.c
diff --git a/tests/gem_render_tiled_blits.c b/tests/hw-tests/gem_render_tiled_blits.c
similarity index 100%
rename from tests/gem_render_tiled_blits.c
rename to tests/hw-tests/gem_render_tiled_blits.c
diff --git a/tests/hw-tests/meson.build b/tests/hw-tests/meson.build
index 32bb637d..56ee4615 100644
--- a/tests/hw-tests/meson.build
+++ b/tests/hw-tests/meson.build
@@ -1,4 +1,11 @@
 hw_test_progs = [
+	'gem_gpgpu_fill',
+	'gem_media_fill',
+	'pm_sseu',
+	'gem_render_copy',
+	'gem_render_copy_redux',
+	'gem_render_linear_blits',
+	'gem_render_tiled_blits',
 ]
 
 hw_test_deps = [ igt_deps ]
diff --git a/tests/pm_sseu.c b/tests/hw-tests/pm_sseu.c
similarity index 100%
rename from tests/pm_sseu.c
rename to tests/hw-tests/pm_sseu.c
diff --git a/tests/meson.build b/tests/meson.build
index bf42424f..540cfa5a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -73,7 +73,6 @@ test_progs = [
 	'gem_fenced_exec_thrash',
 	'gem_flink_basic',
 	'gem_flink_race',
-	'gem_gpgpu_fill',
 	'gem_gtt_cpu_tlb',
 	'gem_gtt_hog',
 	'gem_gtt_speed',
@@ -81,7 +80,6 @@ test_progs = [
 	'gem_linear_blits',
 	'gem_lut_handle',
 	'gem_madvise',
-	'gem_media_fill',
 	'gem_mmap',
 	'gem_mmap_gtt',
 	'gem_mmap_offset_exhaustion',
@@ -101,10 +99,6 @@ test_progs = [
 	'gem_reg_read',
 	'gem_reloc_overflow',
 	'gem_reloc_vs_gpu',
-	'gem_render_copy',
-	'gem_render_copy_redux',
-	'gem_render_linear_blits',
-	'gem_render_tiled_blits',
 	'gem_request_retire',
 	'gem_reset_stats',
 	'gem_ring_sync_copy',
@@ -196,7 +190,6 @@ test_progs = [
 	'pm_rc6_residency',
 	'pm_rpm',
 	'pm_rps',
-	'pm_sseu',
 	'prime_busy',
 	'prime_mmap',
 	'prime_mmap_coherency',
-- 
2.14.4



More information about the igt-dev mailing list