* [Intel-gfx] [PATCH i-g-t] tests: Move perf/perf_pmu under i915
@ 2020-06-18 9:50 Chris Wilson
2020-06-18 9:52 ` Lionel Landwerlin
0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2020-06-18 9:50 UTC (permalink / raw)
To: intel-gfx; +Cc: Chris Wilson
These are i915 specific tests of the perf and perf-workalike interfaces,
so move them under i915/
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.sources | 8 ++++++--
tests/{ => i915}/perf.c | 0
tests/{ => i915}/perf_pmu.c | 0
tests/meson.build | 6 ++++--
4 files changed, 10 insertions(+), 4 deletions(-)
rename tests/{ => i915}/perf.c (100%)
rename tests/{ => i915}/perf_pmu.c (100%)
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index eaa6c0d04..af900bcfc 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -88,8 +88,6 @@ TESTS_progs = \
kms_vblank \
kms_vrr \
meta_test \
- perf \
- perf_pmu \
prime_busy \
prime_mmap \
prime_mmap_coherency \
@@ -115,6 +113,12 @@ sysfs_preempt_timeout_SOURCES = i915/sysfs_preempt_timeout.c
TESTS_progs += sysfs_timeslice_duration
sysfs_timeslice_duration_SOURCES = i915/sysfs_timeslice_duration.c
+TESTS_progs += perf
+perf_SOURCES = i915/perf.c
+
+TESTS_progs += perf_pmu
+perf_pmu_SOURCES = i915/perf_pmu.c
+
TESTS_progs += gem_bad_reloc
gem_bad_reloc_SOURCES = i915/gem_bad_reloc.c
diff --git a/tests/perf.c b/tests/i915/perf.c
similarity index 100%
rename from tests/perf.c
rename to tests/i915/perf.c
diff --git a/tests/perf_pmu.c b/tests/i915/perf_pmu.c
similarity index 100%
rename from tests/perf_pmu.c
rename to tests/i915/perf_pmu.c
diff --git a/tests/meson.build b/tests/meson.build
index e69bdb7d0..28091794f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -336,14 +336,16 @@ test_executables += executable('i915_pm_rc6_residency',
install : true)
test_list += 'i915_pm_rc6_residency'
-test_executables += executable('perf_pmu', 'perf_pmu.c',
+test_executables += executable('perf_pmu',
+ join_paths('i915', 'perf_pmu.c'),
dependencies : test_deps + [ lib_igt_perf ],
install_dir : libexecdir,
install_rpath : libexecdir_rpathdir,
install : true)
test_list += 'perf_pmu'
-test_executables += executable('perf', 'perf.c',
+test_executables += executable('perf',
+ join_paths('i915', 'perf.c'),
dependencies : test_deps + [ lib_igt_i915_perf ],
install_dir : libexecdir,
install_rpath : libexecdir_rpathdir,
--
2.27.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Intel-gfx] [PATCH i-g-t] tests: Move perf/perf_pmu under i915
2020-06-18 9:50 [Intel-gfx] [PATCH i-g-t] tests: Move perf/perf_pmu under i915 Chris Wilson
@ 2020-06-18 9:52 ` Lionel Landwerlin
0 siblings, 0 replies; 3+ messages in thread
From: Lionel Landwerlin @ 2020-06-18 9:52 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
On 18/06/2020 12:50, Chris Wilson wrote:
> These are i915 specific tests of the perf and perf-workalike interfaces,
> so move them under i915/
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> ---
> tests/Makefile.sources | 8 ++++++--
> tests/{ => i915}/perf.c | 0
> tests/{ => i915}/perf_pmu.c | 0
> tests/meson.build | 6 ++++--
> 4 files changed, 10 insertions(+), 4 deletions(-)
> rename tests/{ => i915}/perf.c (100%)
> rename tests/{ => i915}/perf_pmu.c (100%)
>
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index eaa6c0d04..af900bcfc 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -88,8 +88,6 @@ TESTS_progs = \
> kms_vblank \
> kms_vrr \
> meta_test \
> - perf \
> - perf_pmu \
> prime_busy \
> prime_mmap \
> prime_mmap_coherency \
> @@ -115,6 +113,12 @@ sysfs_preempt_timeout_SOURCES = i915/sysfs_preempt_timeout.c
> TESTS_progs += sysfs_timeslice_duration
> sysfs_timeslice_duration_SOURCES = i915/sysfs_timeslice_duration.c
>
> +TESTS_progs += perf
> +perf_SOURCES = i915/perf.c
> +
> +TESTS_progs += perf_pmu
> +perf_pmu_SOURCES = i915/perf_pmu.c
> +
> TESTS_progs += gem_bad_reloc
> gem_bad_reloc_SOURCES = i915/gem_bad_reloc.c
>
> diff --git a/tests/perf.c b/tests/i915/perf.c
> similarity index 100%
> rename from tests/perf.c
> rename to tests/i915/perf.c
> diff --git a/tests/perf_pmu.c b/tests/i915/perf_pmu.c
> similarity index 100%
> rename from tests/perf_pmu.c
> rename to tests/i915/perf_pmu.c
> diff --git a/tests/meson.build b/tests/meson.build
> index e69bdb7d0..28091794f 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -336,14 +336,16 @@ test_executables += executable('i915_pm_rc6_residency',
> install : true)
> test_list += 'i915_pm_rc6_residency'
>
> -test_executables += executable('perf_pmu', 'perf_pmu.c',
> +test_executables += executable('perf_pmu',
> + join_paths('i915', 'perf_pmu.c'),
> dependencies : test_deps + [ lib_igt_perf ],
> install_dir : libexecdir,
> install_rpath : libexecdir_rpathdir,
> install : true)
> test_list += 'perf_pmu'
>
> -test_executables += executable('perf', 'perf.c',
> +test_executables += executable('perf',
> + join_paths('i915', 'perf.c'),
> dependencies : test_deps + [ lib_igt_i915_perf ],
> install_dir : libexecdir,
> install_rpath : libexecdir_rpathdir,
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Intel-gfx] [PATCH i-g-t] tests: Move perf/perf_pmu under i915
@ 2020-06-18 10:50 Chris Wilson
0 siblings, 0 replies; 3+ messages in thread
From: Chris Wilson @ 2020-06-18 10:50 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
These are i915 specific tests of the perf and perf-workalike interfaces,
so move them under i915/
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.sources | 8 ++++++--
tests/{ => i915}/perf.c | 0
tests/{ => i915}/perf_pmu.c | 0
tests/meson.build | 6 ++++--
4 files changed, 10 insertions(+), 4 deletions(-)
rename tests/{ => i915}/perf.c (100%)
rename tests/{ => i915}/perf_pmu.c (100%)
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index eaa6c0d04..af900bcfc 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -88,8 +88,6 @@ TESTS_progs = \
kms_vblank \
kms_vrr \
meta_test \
- perf \
- perf_pmu \
prime_busy \
prime_mmap \
prime_mmap_coherency \
@@ -115,6 +113,12 @@ sysfs_preempt_timeout_SOURCES = i915/sysfs_preempt_timeout.c
TESTS_progs += sysfs_timeslice_duration
sysfs_timeslice_duration_SOURCES = i915/sysfs_timeslice_duration.c
+TESTS_progs += perf
+perf_SOURCES = i915/perf.c
+
+TESTS_progs += perf_pmu
+perf_pmu_SOURCES = i915/perf_pmu.c
+
TESTS_progs += gem_bad_reloc
gem_bad_reloc_SOURCES = i915/gem_bad_reloc.c
diff --git a/tests/perf.c b/tests/i915/perf.c
similarity index 100%
rename from tests/perf.c
rename to tests/i915/perf.c
diff --git a/tests/perf_pmu.c b/tests/i915/perf_pmu.c
similarity index 100%
rename from tests/perf_pmu.c
rename to tests/i915/perf_pmu.c
diff --git a/tests/meson.build b/tests/meson.build
index e69bdb7d0..28091794f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -336,14 +336,16 @@ test_executables += executable('i915_pm_rc6_residency',
install : true)
test_list += 'i915_pm_rc6_residency'
-test_executables += executable('perf_pmu', 'perf_pmu.c',
+test_executables += executable('perf_pmu',
+ join_paths('i915', 'perf_pmu.c'),
dependencies : test_deps + [ lib_igt_perf ],
install_dir : libexecdir,
install_rpath : libexecdir_rpathdir,
install : true)
test_list += 'perf_pmu'
-test_executables += executable('perf', 'perf.c',
+test_executables += executable('perf',
+ join_paths('i915', 'perf.c'),
dependencies : test_deps + [ lib_igt_i915_perf ],
install_dir : libexecdir,
install_rpath : libexecdir_rpathdir,
--
2.27.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-18 10:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 9:50 [Intel-gfx] [PATCH i-g-t] tests: Move perf/perf_pmu under i915 Chris Wilson
2020-06-18 9:52 ` Lionel Landwerlin
2020-06-18 10:50 Chris Wilson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.