Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tools: rename power into igt_power
@ 2025-01-21 15:49 Kamil Konieczny
  2025-01-22  1:18 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Kamil Konieczny @ 2025-01-21 15:49 UTC (permalink / raw)
  To: igt-dev; +Cc: Kamil Konieczny, Jordan Justen, Ville Syrjälä

Some distros installs igt tools in /usr/bin and as long as
a name of a tool has a prefix of igt_ or intel_ it will not
cause a problem. However name like 'power' is a little too
generic, so change it into igt_power.

Fixes: a886e0ad9783 ("tools/power: Introduce a small power/energy measurement tool")
Reported-by: Jordan Justen <jljusten@debian.org>
Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/168
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 tools/{power.c => igt_power.c} | 0
 tools/meson.build              | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tools/{power.c => igt_power.c} (100%)

diff --git a/tools/power.c b/tools/igt_power.c
similarity index 100%
rename from tools/power.c
rename to tools/igt_power.c
diff --git a/tools/meson.build b/tools/meson.build
index 511aec69e..f091af380 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -12,6 +12,7 @@ foreach prog : tools_progs_noisnt
 endforeach
 
 tools_progs = [
+	'igt_power',
 	'igt_stats',
 	'intel_audio_dump',
 	'intel_backlight',
@@ -44,7 +45,6 @@ tools_progs = [
 	'dpcd_reg',
 	'lsfacts',
 	'lsgpu',
-	'power',
 ]
 tool_deps = igt_deps
 tool_deps += zlib
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-01-23 10:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-21 15:49 [PATCH i-g-t] tools: rename power into igt_power Kamil Konieczny
2025-01-22  1:18 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-01-22  1:20 ` ✓ i915.CI.BAT: " Patchwork
2025-01-22  9:30 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-22 13:05   ` Kamil Konieczny
2025-01-22 10:33 ` [PATCH i-g-t] " Dandamudi, Priyanka
2025-01-22 12:49 ` Ville Syrjälä
2025-01-23 10:17 ` ✗ i915.CI.Full: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox