public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>
Subject: [igt-dev] [PATCH i-g-t 3/3] tests: Prefix pm_ tests with i915_ and move them to i915/
Date: Tue, 19 Feb 2019 15:25:43 +0200	[thread overview]
Message-ID: <20190219132543.31786-3-arkadiusz.hiler@intel.com> (raw)
In-Reply-To: <20190219132543.31786-1-arkadiusz.hiler@intel.com>

They are i915-specific, so they belong to the directory.
The (now) infix _pm_ is quite informative and worth keeping.

v2: also prefix .c files

Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Ewelina Musial <ewelina.musial@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
Acks/rbs appreciated, but please let me push it, as I have to do
renaming in the cibuglog first :-)

 tests/Makefile.sources                        | 24 ++++++++++++++-----
 .../i915_pm_backlight.c}                      |  0
 tests/{pm_lpsp.c => i915/i915_pm_lpsp.c}      |  0
 .../i915_pm_rc6_residency.c}                  |  0
 tests/{pm_rpm.c => i915/i915_pm_rpm.c}        |  0
 tests/{pm_rps.c => i915/i915_pm_rps.c}        |  0
 tests/{pm_sseu.c => i915/i915_pm_sseu.c}      |  0
 tests/meson.build                             | 12 +++++-----
 8 files changed, 24 insertions(+), 12 deletions(-)
 rename tests/{pm_backlight.c => i915/i915_pm_backlight.c} (100%)
 rename tests/{pm_lpsp.c => i915/i915_pm_lpsp.c} (100%)
 rename tests/{pm_rc6_residency.c => i915/i915_pm_rc6_residency.c} (100%)
 rename tests/{pm_rpm.c => i915/i915_pm_rpm.c} (100%)
 rename tests/{pm_rps.c => i915/i915_pm_rps.c} (100%)
 rename tests/{pm_sseu.c => i915/i915_pm_sseu.c} (100%)

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 1efd3ecb..35c79592 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -77,12 +77,6 @@ TESTS_progs = \
 	meta_test \
 	perf \
 	perf_pmu \
-	pm_backlight \
-	pm_lpsp \
-	pm_rc6_residency \
-	pm_rpm \
-	pm_rps \
-	pm_sseu \
 	prime_busy \
 	prime_mmap \
 	prime_mmap_coherency \
@@ -486,6 +480,24 @@ i915_missed_irq_SOURCES = i915/i915_missed_irq.c
 TESTS_progs += i915_module_load
 i915_module_load_SOURCES = i915/i915_module_load.c
 
+TESTS_progs += i915_pm_backlight
+i915_pm_backlight_SOURCES = i915/i915_pm_backlight.c
+
+TESTS_progs += i915_pm_lpsp
+i915_pm_lpsp_SOURCES = i915/i915_pm_lpsp.c
+
+TESTS_progs += i915_pm_rc6_residency
+i915_pm_rc6_residency_SOURCES = i915/i915_pm_rc6_residency.c
+
+TESTS_progs += i915_pm_rpm
+i915_pm_rpm_SOURCES = i915/i915_pm_rpm.c
+
+TESTS_progs += i915_pm_rps
+i915_pm_rps_SOURCES = i915/i915_pm_rps.c
+
+TESTS_progs += i915_pm_sseu
+i915_pm_sseu_SOURCES = i915/i915_pm_sseu.c
+
 TESTS_progs += i915_query
 i915_query_SOURCES = i915/i915_query.c
 
diff --git a/tests/pm_backlight.c b/tests/i915/i915_pm_backlight.c
similarity index 100%
rename from tests/pm_backlight.c
rename to tests/i915/i915_pm_backlight.c
diff --git a/tests/pm_lpsp.c b/tests/i915/i915_pm_lpsp.c
similarity index 100%
rename from tests/pm_lpsp.c
rename to tests/i915/i915_pm_lpsp.c
diff --git a/tests/pm_rc6_residency.c b/tests/i915/i915_pm_rc6_residency.c
similarity index 100%
rename from tests/pm_rc6_residency.c
rename to tests/i915/i915_pm_rc6_residency.c
diff --git a/tests/pm_rpm.c b/tests/i915/i915_pm_rpm.c
similarity index 100%
rename from tests/pm_rpm.c
rename to tests/i915/i915_pm_rpm.c
diff --git a/tests/pm_rps.c b/tests/i915/i915_pm_rps.c
similarity index 100%
rename from tests/pm_rps.c
rename to tests/i915/i915_pm_rps.c
diff --git a/tests/pm_sseu.c b/tests/i915/i915_pm_sseu.c
similarity index 100%
rename from tests/pm_sseu.c
rename to tests/i915/i915_pm_sseu.c
diff --git a/tests/meson.build b/tests/meson.build
index bb90711e..f4bd4a10 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -63,12 +63,6 @@ test_progs = [
 	'kms_vrr',
 	'meta_test',
 	'perf',
-	'pm_backlight',
-	'pm_lpsp',
-	'pm_rc6_residency',
-	'pm_rpm',
-	'pm_rps',
-	'pm_sseu',
 	'prime_busy',
 	'prime_mmap',
 	'prime_mmap_coherency',
@@ -223,6 +217,12 @@ i915_progs = [
 	'i915_hangman',
 	'i915_missed_irq',
 	'i915_module_load',
+	'i915_pm_backlight',
+	'i915_pm_lpsp',
+	'i915_pm_rc6_residency',
+	'i915_pm_rpm',
+	'i915_pm_rps',
+	'i915_pm_sseu',
 	'i915_query',
 	'i915_selftest',
 	'i915_suspend',
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2019-02-19 13:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 13:25 [igt-dev] [PATCH i-g-t 1/3] tools: Add dpcd_reg binary to gitignore Arkadiusz Hiler
2019-02-19 13:25 ` [igt-dev] [PATCH i-g-t 2/3] tests/i915: Rename files so they correspond to binary names Arkadiusz Hiler
2019-02-19 13:25 ` Arkadiusz Hiler [this message]
2019-02-19 14:23   ` [igt-dev] [PATCH i-g-t 3/3] tests: Prefix pm_ tests with i915_ and move them to i915/ Arkadiusz Hiler
2019-02-20  7:34     ` Arkadiusz Hiler
2019-02-21  9:32     ` Chris Wilson
2019-02-20 10:04   ` Jani Nikula
2019-02-20 11:20     ` Arkadiusz Hiler
2019-02-19 14:03 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tools: Add dpcd_reg binary to gitignore Patchwork
2019-02-19 17:53 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190219132543.31786-3-arkadiusz.hiler@intel.com \
    --to=arkadiusz.hiler@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox